Sese Framework  2.3.0
A cross-platform framework
Loading...
Searching...
No Matches
sese::concurrent::LinkedStack< T > Class Template Reference

Non-blocking, thread-safe stack. More...

#include <LinkedStack.h>

Classes

struct  Node
 Node. More...
 

Public Member Functions

 ~LinkedStack ()
 
void push (const T &value)
 
bool pop (T &value)
 
bool empty ()
 

Private Attributes

std::atomic< Node * > root {nullptr}
 

Detailed Description

template<class T>
class sese::concurrent::LinkedStack< T >

Non-blocking, thread-safe stack.

Template Parameters
TThe template type

Constructor & Destructor Documentation

◆ ~LinkedStack()

Member Function Documentation

◆ empty()

template<class T >
bool sese::concurrent::LinkedStack< T >::empty ( )
inline

◆ pop()

◆ push()

Member Data Documentation

◆ root


The documentation for this class was generated from the following file: