Public Member Functions |
| | DtLockfreeQueue (size_t sizeToUse) |
| | ~DtLockfreeQueue () |
| size_t | size () const |
| bool | push (T const &t) |
| size_t | pop (T &ret) |
| bool | empty (void) |
| size_t | readAvailableForConsumption () const |
| | get number of elements that are available for read return number of available elements that can be popped from the spsc_queue note Thread-safe and wait-free, should only be called from the consumer thread
|
| size_t | writeAvailableForProduction () const |
| | get write space to write elements return number of elements that can be pushed to the spsc_queue note Thread-safe and wait-free, should only be called from the producer thread
|
| size_t | writtenAvailableForConsumption () const |
| | get number of elements that are not available for writing return potential number of available elements waiting to be popped from the spsc_queue note Thread-safe and wait-free, should only be called from the producer thread
|
| | DtLockfreeQueueImpl (size_t sizeToUse) |
| virtual | ~DtLockfreeQueueImpl () |
| size_t | _size () const |
| bool | _push (void *const &t) |
| size_t | _pop (void *&ret) |
| bool | _empty () |
| size_t | _read_available () const |
| | get number of elements that are available for read return number of available elements that can be popped from the spsc_queue note Thread-safe and wait-free, should only be called from the consumer thread
|
| size_t | _write_available () const |
| | get write space to write elements return number of elements that can be pushed to the spsc_queue note Thread-safe and wait-free, should only be called from the producer thread
|
Constructor & Destructor Documentation
Member Function Documentation
get number of elements that are available for read return number of available elements that can be popped from the spsc_queue note Thread-safe and wait-free, should only be called from the consumer thread
get write space to write elements return number of elements that can be pushed to the spsc_queue note Thread-safe and wait-free, should only be called from the producer thread
get number of elements that are not available for writing return potential number of available elements waiting to be popped from the spsc_queue note Thread-safe and wait-free, should only be called from the producer thread
The documentation for this class was generated from the following file: