Pigweed
C/C++ API Reference
|
Additional Inherited Members | |
![]() | |
WorkQueue (InlineQueue< Closure > &queue) | |
![]() | |
CustomWorkQueue (InlineQueue< Closure > &queue, pw::Function< void(Closure &)> &&fn) | |
Status | PushWork (Closure &&work_item) |
void | CheckPushWork (Closure &&work_item) |
void | CheckPushWork (Closure &work_item) |
void | RequestStop () |
Creates a WorkQueue and the backing queue.
WorkQueueWithBuffer enqueues pw_function::Closure
and the worker thread invokes the Closure.
kWorkQueueEntries | The number of entries in the work queue (e.g. the total number of work requests before the queue is full). |