Public Member Functions | |
CThreadSafeWorkQueue () | |
CThreadSafeWorkQueue (const CThreadSafeWorkQueue &rhs) | |
CThreadSafeWorkQueue & | operator= (const CThreadSafeWorkQueue &rhs) |
void | SignalThreadShutdown () |
void | AddWork (ULONG_PTR completionKey, DWORD dwNumBytes, IAsyncWorkItem *pWorkItem) |
bool | GetWork (ULONG_PTR *pCompletionKey, PDWORD pdwNumBytes, IAsyncWorkItem **ppWorkItem, Milliseconds timeout) |
bool | GetWork (ULONG_PTR *pCompletionKey, PDWORD pdwNumBytes, IAsyncWorkItem **ppWorkItem, DWORD &lastError, Milliseconds timeout) |
CThreadSafeWorkQueue | ( | const CThreadSafeWorkQueue & | rhs | ) |
CThreadSafeWorkQueue& operator= | ( | const CThreadSafeWorkQueue & | rhs | ) |
void SignalThreadShutdown | ( | ) |
void AddWork | ( | ULONG_PTR | completionKey, | |
DWORD | dwNumBytes, | |||
IAsyncWorkItem * | pWorkItem | |||
) |
bool GetWork | ( | ULONG_PTR * | pCompletionKey, | |
PDWORD | pdwNumBytes, | |||
IAsyncWorkItem ** | ppWorkItem, | |||
Milliseconds | timeout | |||
) |
bool GetWork | ( | ULONG_PTR * | pCompletionKey, | |
PDWORD | pdwNumBytes, | |||
IAsyncWorkItem ** | ppWorkItem, | |||
DWORD & | lastError, | |||
Milliseconds | timeout | |||
) |