Interlocked variable class. More...
#include <interlocked_variable.h>
Public Member Functions | |
InterlockedVariable () | |
InterlockedVariable (const InterlockedVariable &src) | |
~InterlockedVariable () | |
bool | compare_and_swap (int expected_value, int new_value) |
int | decrement () |
int | get () const |
int | increment () |
InterlockedVariable & | operator= (const InterlockedVariable &src) |
void | set (int new_value) |
Interlocked variable class.