C/C++ API Reference
Loading...
Searching...
No Matches
pw::work_queue::WorkQueueWithBuffer< kWorkQueueEntries > Class Template Reference

Overview

template<size_t kWorkQueueEntries>
class pw::work_queue::WorkQueueWithBuffer< kWorkQueueEntries >

Creates a WorkQueue and the backing queue.

WorkQueueWithBuffer enqueues pw_function::Closure and the worker thread invokes the Closure.

Parameters
kWorkQueueEntriesThe number of entries in the work queue (e.g. the total number of work requests before the queue is full).
Inheritance diagram for pw::work_queue::WorkQueueWithBuffer< kWorkQueueEntries >:
pw::work_queue::internal::Storage< Closure, kWorkQueueEntries > pw::work_queue::WorkQueue pw::work_queue::CustomWorkQueue< Closure >

Additional Inherited Members

- Public Member Functions inherited from pw::work_queue::WorkQueue
 WorkQueue (InlineQueue< Closure > &queue)
 
- Public Member Functions inherited from pw::work_queue::CustomWorkQueue< Closure >
 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 ()
 

The documentation for this class was generated from the following file: