Yate
|
Base class for atomic operations. More...
#include <yateclass.h>
Public Member Functions | |
AtomicOp () | |
RWLock * | lock () const |
Static Public Member Functions | |
static bool | efficient () |
Protected Attributes | |
RWLock * | m_lock |
Base class for atomic operations.
Holds an optional lock protecting an atomic operation
AtomicOp | ( | ) |
Constructor
|
static |
Check if atomic operations are used efficiently
|
inline |
Retrieve the lock used to protect the atomic operation