OpenThreads
Public Member Functions | List of all members
OpenThreads::AtomicPtr Class Reference

This class provides an atomic pointer assignment using cas operations. More...

Public Member Functions

 AtomicPtr (void *ptr=0)
 
 ~AtomicPtr ()
 
_OPENTHREADS_ATOMIC_INLINE bool assign (void *ptrNew, const void *const ptrOld)
 
_OPENTHREADS_ATOMIC_INLINE void * get () const
 

Detailed Description

This class provides an atomic pointer assignment using cas operations.

Constructor & Destructor Documentation

OpenThreads::AtomicPtr::AtomicPtr ( void *  ptr = 0)
inline
OpenThreads::AtomicPtr::~AtomicPtr ( )
inline

Member Function Documentation

_OPENTHREADS_ATOMIC_INLINE bool OpenThreads::AtomicPtr::assign ( void *  ptrNew,
const void *const  ptrOld 
)
_OPENTHREADS_ATOMIC_INLINE void * OpenThreads::AtomicPtr::get ( ) const

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

osg logo
Generated at Wed Nov 11 2015 22:28:36 for the OpenThreads by doxygen 1.8.10.