|
void | clear () |
|
void | push (T &t) |
|
T | pop (bool waitForItem=true) |
|
void | clear () |
|
void | push (T &t) |
|
T | pop () |
|
| Semaphore (uint32 initialCount, uint32 maxCount) |
|
bool | acquire (uint32 timeout=Infinite) |
|
void | release (uint32 count=1) |
|
void | reset () |
|
void | enter () |
|
void | leave () |
|
|
void | _clear () |
|
T | _pop () |
|
static const uint32 | Infinite |
|
template<typename T, uint32 _S>
class core::PipeNN< T, _S >
Definition at line 150 of file pipe.h.
◆ pop()
template<typename T , uint32 _S>
Pop the head item.
- Parameters
-
waitForItem | (optional) If true and the pipe is empty, block until another thread adds an item with push(). If false and the pipe is empty, return NULL immediately.If omitted, then wait for an item. |
- Returns
- The popped item, or NULL if waitForItem is false and the pipe is empty.
The documentation for this class was generated from the following file: