libt3widget
|
Class implmementing a mutex-protected queue of items. More...
Public Member Functions | |
item_buffer_t (void) | |
Create a new key_buffer_t. More... | |
T | pop_front (void) |
Retrieve and remove the item at the front of the queue. More... | |
void | push_back (T item) |
Append an item to the list. More... | |
~item_buffer_t (void) | |
Destroy the key_buffer_t. More... | |
Protected Attributes | |
pthread_cond_t | cond |
The condition variable used to signal addition to the #keys list. More... | |
std::deque< T > | items |
The list of item symbols. More... | |
pthread_mutex_t | lock |
The mutex used for the critical section. More... | |
Class implmementing a mutex-protected queue of items.
|
inline |
Create a new key_buffer_t.
|
inline |
Destroy the key_buffer_t.
|
inline |
Retrieve and remove the item at the front of the queue.
|
inline |
Append an item to the list.
|
protected |
The condition variable used to signal addition to the #keys list.
|
protected |
The list of item symbols.
|
protected |
The mutex used for the critical section.