My Project
|
#include <vspace.h>
Data Structures | |
struct | Node |
Public Member Functions | |
Queue (size_t bound=0) | |
void | enqueue (T item) |
bool | try_enqueue (T item) |
T | dequeue () |
Result< T > | try_dequeue () |
Private Member Functions | |
VRef< Node > | pop () |
void | push (VRef< Node > node) |
void | enqueue_nowait (T item) |
T | dequeue_nowait () |
Private Attributes | |
Semaphore | _incoming |
Semaphore | _outgoing |
bool | _bounded |
FastLock | _lock |
VRef< Node > | _head |
VRef< Node > | _tail |
Friends | |
template<typename U > | |
class | EnqueueEvent |
template<typename U > | |
class | DequeueEvent |
struct vspace::Queue::Node |
|
inline |
|
inline |
|
inlineprivate |
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |