proxygen
|
#include <HazptrLockFreeLIFO.h>
Classes | |
struct | Node |
Public Member Functions | |
HazptrLockFreeLIFO () | |
~HazptrLockFreeLIFO () | |
void | push (T val) |
bool | pop (T &val) |
Private Member Functions | |
Node * | head () |
bool | cas_head (Node *&expected, Node *newval) |
Private Attributes | |
Atom< Node * > | head_ |
Definition at line 23 of file HazptrLockFreeLIFO.h.
|
inline |
Definition at line 29 of file HazptrLockFreeLIFO.h.
|
inline |
Definition at line 31 of file HazptrLockFreeLIFO.h.
References folly::HazptrLockFreeLIFO< T, Atom >::head(), cpp.ast::next(), folly::HazptrLockFreeLIFO< T, Atom >::Node::next(), and folly::hazptr_obj_base< T, Atom, D >::retire().
|
inlineprivate |
Definition at line 72 of file HazptrLockFreeLIFO.h.
Referenced by folly::HazptrLockFreeLIFO< T, Atom >::pop(), and folly::HazptrLockFreeLIFO< T, Atom >::push().
|
inlineprivate |
Definition at line 68 of file HazptrLockFreeLIFO.h.
Referenced by folly::HazptrLockFreeLIFO< T, Atom >::push(), and folly::HazptrLockFreeLIFO< T, Atom >::~HazptrLockFreeLIFO().
|
inline |
Definition at line 47 of file HazptrLockFreeLIFO.h.
References folly::HazptrLockFreeLIFO< T, Atom >::cas_head(), folly::hazptr_holder< Atom >::get_protected(), h, cpp.ast::next(), folly::HazptrLockFreeLIFO< T, Atom >::Node::next(), folly::hazptr_holder< Atom >::reset(), folly::hazptr_obj_base< T, Atom, D >::retire(), and folly::HazptrLockFreeLIFO< T, Atom >::Node::value().
Referenced by lifo_test().
|
inline |
Definition at line 40 of file HazptrLockFreeLIFO.h.
References folly::HazptrLockFreeLIFO< T, Atom >::cas_head(), folly::HazptrLockFreeLIFO< T, Atom >::head(), and Node< Atom >::Node().
Referenced by lifo_test().
|
private |
Definition at line 24 of file HazptrLockFreeLIFO.h.