Public Member Functions

atomic_variable< T > Class Template Reference

#include <atomic-variable.h>

Collaboration diagram for atomic_variable< T >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 atomic_variable (T t)
 atomic_variable ()
read ()
void write (T t)
operator++ (int)
operator-- (int)
 atomic_variable (T t)
read ()
void write (T t)

Detailed Description

template<typename T>
class atomic_variable< T >

Wrapper for a variable to protect read and write accesses with a mutex.

Definition at line 21 of file atomic-variable.h.


Constructor & Destructor Documentation

template<typename T>
atomic_variable< T >::atomic_variable (  )  [inline]

Uninitialized initial value

Definition at line 25 of file atomic-variable.h.


The documentation for this class was generated from the following files:
 All Classes Files Functions Defines