|
CCF
|
#include <sub_task_queue.h>
Public Types | |
| using | Visitor = std::function< void(T &&)> |
Public Member Functions | |
| bool | push (T &&t) |
| bool | pop_and_visit (Visitor &&visitor) |
| void | pause () |
| bool | unpause () |
| void | get_queue_summary (size_t &num_pending, bool &is_active) |
Protected Attributes | |
| std::mutex | pending_mutex |
| std::deque< T > | pending |
| std::atomic< bool > | active |
| std::atomic< bool > | paused |
| using ccf::tasks::SubTaskQueue< T >::Visitor = std::function<void(T&&)> |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |