#include <coroutine.h>
Public Member Functions | |
| Channel () | |
| Channel (routine_t id) | |
| void | clear () |
| void | consumer (routine_t id) |
| bool | empty () |
| Type | pop () |
| void | push (const Type &obj) |
| void | push (Type &&obj) |
| size_t | size () |
| void | touch () |
Private Attributes | |
| std::list< Type > | _list |
| routine_t | _taker |
Definition at line 398 of file coroutine.h.
|
inline |
Definition at line 401 of file coroutine.h.
|
inline |
Definition at line 406 of file coroutine.h.
|
inline |
Definition at line 443 of file coroutine.h.
|
inline |
Definition at line 411 of file coroutine.h.
|
inline |
Definition at line 459 of file coroutine.h.
|
inline |
Definition at line 430 of file coroutine.h.
|
inline |
Definition at line 416 of file coroutine.h.
|
inline |
Definition at line 423 of file coroutine.h.
|
inline |
Definition at line 454 of file coroutine.h.
|
inline |
Definition at line 448 of file coroutine.h.
|
private |
Definition at line 465 of file coroutine.h.
|
private |
Definition at line 466 of file coroutine.h.