![]() |
OpenSceneGraph
|
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 |
This class provides an atomic pointer assignment using cas operations.
|
inline |
|
inline |
References _OPENTHREADS_ATOMIC_INLINE.
| _OPENTHREADS_ATOMIC_INLINE bool OpenThreads::AtomicPtr::assign | ( | void * | ptrNew, |
| const void *const | ptrOld | ||
| ) |
References _OPENTHREADS_ATOMIC_INLINE.
| _OPENTHREADS_ATOMIC_INLINE void * OpenThreads::AtomicPtr::get | ( | ) | const |
1.8.13