Creates a WorkQueue.
WorkQueue enqueues pw_function::Closure
and the worker thread invokes the Closure.
Public Member Functions | |
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 () |