CThreadPool::QueueRequest
Call this method to queue a work item to be handled by a thread in the pool.
BOOL QueueRequest(
Worker::RequestType request
) throw( );
Параметры
- request
The request to be queued.
Возвращаемое значение
Returns TRUE on success, FALSE on failure.
Заметки
This method adds a work item to the queue. The threads in the pool pick items off the queue in the order in which they are received.
Требования
Header: atlutil.h