![]() |
Ethereum
PoC-8
The C++ Implementation of Ethereum
|
#include <concurrent_queue.h>
Public Member Functions | |
| template<typename _U > | |
| void | push (_U &&_elem) |
| _T | pop () |
| _T | pop (std::chrono::milliseconds const &_waitDuration) |
Concurrent queue. You can push and pop elements to/from the queue. Pop will block until the queue is not empty. The default backend (_QueueT) is std::queue. It can be changed to any type that has proper push(), pop(), empty() and front() methods.
Definition at line 21 of file concurrent_queue.h.
|
inline |
Definition at line 34 of file concurrent_queue.h.
|
inline |
Definition at line 43 of file concurrent_queue.h.
|
inline |
Definition at line 25 of file concurrent_queue.h.