#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 399 of file coroutine.h.
|
inline |
Definition at line 402 of file coroutine.h.
|
inline |
Definition at line 407 of file coroutine.h.
|
inline |
Definition at line 444 of file coroutine.h.
|
inline |
Definition at line 412 of file coroutine.h.
|
inline |
Definition at line 460 of file coroutine.h.
|
inline |
Definition at line 431 of file coroutine.h.
|
inline |
Definition at line 417 of file coroutine.h.
|
inline |
Definition at line 424 of file coroutine.h.
|
inline |
Definition at line 455 of file coroutine.h.
|
inline |
Definition at line 449 of file coroutine.h.
|
private |
Definition at line 466 of file coroutine.h.
|
private |
Definition at line 467 of file coroutine.h.