#include <atomic-variable.h>
Public Member Functions | |
atomic_variable (T t) | |
atomic_variable () | |
T | read () |
void | write (T t) |
T | operator++ (int) |
T | operator-- (int) |
atomic_variable (T t) | |
T | read () |
void | write (T t) |
Wrapper for a variable to protect read and write accesses with a mutex.
Definition at line 21 of file atomic-variable.h.
atomic_variable< T >::atomic_variable | ( | ) | [inline] |
Uninitialized initial value
Definition at line 25 of file atomic-variable.h.