![]() |
libzmq master
The Intelligent Transport Layer
|
#include <atomic_ptr.hpp>
Inheritance diagram for zmq::atomic_ptr_t< T >:
Collaboration diagram for zmq::atomic_ptr_t< T >: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 52 of file atomic_ptr.hpp.
| zmq::atomic_ptr_t< T >::atomic_ptr_t | ( | ) | [inline] |
Definition at line 57 of file atomic_ptr.hpp.
| zmq::atomic_ptr_t< T >::~atomic_ptr_t | ( | ) | [inline] |
Definition at line 63 of file atomic_ptr.hpp.
| zmq::atomic_ptr_t< T >::atomic_ptr_t | ( | const atomic_ptr_t< T > & | ) | [private] |
| T* zmq::atomic_ptr_t< T >::cas | ( | T * | cmp_, |
| T * | val_ | ||
| ) | [inline] |
Definition at line 105 of file atomic_ptr.hpp.
| const atomic_ptr_t& zmq::atomic_ptr_t< T >::operator= | ( | const atomic_ptr_t< T > & | ) | [private] |
| void zmq::atomic_ptr_t< T >::set | ( | T * | ptr_ | ) | [inline] |
Definition at line 70 of file atomic_ptr.hpp.
| T* zmq::atomic_ptr_t< T >::xchg | ( | T * | val_ | ) | [inline] |
Definition at line 77 of file atomic_ptr.hpp.
Referenced by zmq::yqueue_t< command_t, N >::pop(), zmq::yqueue_t< command_t, N >::push(), and zmq::yqueue_t< command_t, N >::~yqueue_t().
Here is the caller graph for this function:volatile T* zmq::atomic_ptr_t< T >::ptr [private] |
Definition at line 134 of file atomic_ptr.hpp.
Referenced by zmq::atomic_ptr_t< command_t >::atomic_ptr_t(), zmq::atomic_ptr_t< command_t >::cas(), zmq::atomic_ptr_t< command_t >::set(), and zmq::atomic_ptr_t< command_t >::xchg().
mutex_t zmq::atomic_ptr_t< T >::sync [private] |
Definition at line 136 of file atomic_ptr.hpp.
Referenced by zmq::atomic_ptr_t< command_t >::cas(), and zmq::atomic_ptr_t< command_t >::xchg().
1.7.3