|
AsyncBerkeley
Asynchronous Berkeley sockets. Simple.
|
An intrusive queue of tasks. More...
#include <io/execution/multiplexer.hpp>
Classes | |
| struct | task |
| An intrusive task that can be executed by the multiplexer. More... | |
Public Member Functions | |
| auto | is_empty () const noexcept -> bool |
| Checks if the intrusive task queue is empty. | |
| auto | push (task *task) noexcept -> void |
| Pushes a task onto the back of queue. | |
| auto | move_back (intrusive_task_queue &&other) noexcept -> void |
| Moves all tasks from one intrusive queue onto the back of another. | |
| auto | pop () noexcept -> task * |
| Pops a task from the front of the queue. | |
An intrusive queue of tasks.