![]() |
libzmq
master
ZeroMQ C++ Core Engine (LIBZMQ)
|
#include <atomic_ptr.hpp>


Public Member Functions | |
| atomic_ptr_t () | |
| ~atomic_ptr_t () | |
| T * | cas (T *cmp_, T *val_) |
| void | set (T *ptr_) |
| T * | xchg (T *val_) |
Private Member Functions | |
| atomic_ptr_t (const atomic_ptr_t &) | |
| const atomic_ptr_t & | operator= (const atomic_ptr_t &) |
Private Attributes | |
| volatile T * | ptr |
| mutex_t | sync |
Definition at line 72 of file atomic_ptr.hpp.
|
inline |
Definition at line 77 of file atomic_ptr.hpp.
|
inline |
Definition at line 83 of file atomic_ptr.hpp.
|
private |
|
inline |
Definition at line 145 of file atomic_ptr.hpp.
|
private |
|
inline |
Definition at line 90 of file atomic_ptr.hpp.
|
inline |
Definition at line 97 of file atomic_ptr.hpp.
|
private |
|
private |
Definition at line 208 of file atomic_ptr.hpp.
Referenced by zmq::atomic_ptr_t< zmq::yqueue_t::chunk_t >::cas(), and zmq::atomic_ptr_t< zmq::yqueue_t::chunk_t >::xchg().