Sese Framework
2.3.0
A cross-platform framework
|
Cache queue (single producer-single consumer) More...
#include <BufferedQueue.h>
Public Member Functions | |
BufferedQueue11 (size_t write_limit) | |
bool | pop (T &t) |
bool | push (const T &t) |
Private Attributes | |
std::queue< T > | queue |
std::mutex | mutex |
size_t | writeLimit |
Cache queue (single producer-single consumer)
|
inlineexplicit |
|
inline |
References sese::BufferedQueue11< T >::mutex, and sese::BufferedQueue11< T >::queue.
|
inline |
|
private |
Referenced by sese::BufferedQueue11< T >::pop(), and sese::BufferedQueue11< T >::push().
|
private |
Referenced by sese::BufferedQueue11< T >::pop(), and sese::BufferedQueue11< T >::push().
|
private |
Referenced by sese::BufferedQueue11< T >::push().