![]() |
XTL
0.1
eXtended Template Library
|
A lock-free LIFO stack multiple threads can push and pop items concurrently. More...
Public Types | |
using | value_type = _ValueT |
using | wait_policy_type = _WaitPolicyT |
Public Member Functions | |
stack (wait_policy_type oWait=wait_policy_type()) | |
stack (stack &&src) | |
stack (const stack &)=delete | |
stack & | operator= (stack &&src) |
stack & | operator= (const stack &)=delete |
value_type | pop () |
void | push (const value_type &value) |
bool | try_pop (value_type &oRet) |
A lock-free LIFO stack multiple threads can push and pop items concurrently.
_ValueT | type of value contained in the stack. Must be copy constructible. |