#include <IoCompletionThreadPool.h>
Public Member Functions | |
| CIoCompletionThreadPool (HANDLE hExistingCompletionPort=NULL, bool fCloseCompletionPort=false) | |
| Construct a pool of io completion worker threads. | |
| BOOL | Create (DWORD threads, DWORD concurrentThreads=0, int priority=THREAD_PRIORITY_NORMAL) |
| Called to create the threads in the pool. | |
| BOOL | Destroy () |
| Called to terminate the worker thread pool. | |
| operator HANDLE () const | |
| HANDLE extract for the io completion port this pool is for. | |
| HANDLE | GetCompletionPort () const |
| Return the io completion port this pool is using. | |
| void | SetCompletionPort (HANDLE hCompletionPort, bool fCloseCompletionPort=false) |
| Set the io completion port this pool is using. | |
|
||||||||||||
|
Construct a pool of io completion worker threads.
|
|
||||||||||||||||
|
Called to create the threads in the pool.
|
|
|
Called to terminate the worker thread pool.
|
|
|
Return the io completion port this pool is using.
|
|
||||||||||||
|
Set the io completion port this pool is using.
|
1.3.9.1