clan::InterlockedVariable Class Reference

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 ()
 
InterlockedVariableoperator= (const InterlockedVariable &src)
 
void set (int new_value)
 

Detailed Description

Interlocked variable class.


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