Galois::GAtomic< bool > Class Template Reference

#include <Atomic.h>

List of all members.

Public Member Functions

 GAtomic (bool i)
 Initialize with a value.
 operator bool () const
 conversion operator to base data type
bool operator= (bool i)
 assign from underlying type
bool operator= (const GAtomic< bool > &i)
 assignment operator
bool cas (bool expected, bool updated)
 direct compare and swap

Private Attributes

bool val

template<>
class Galois::GAtomic< bool >


Constructor & Destructor Documentation

Galois::GAtomic< bool >::GAtomic ( bool  i  )  [inline, explicit]

Initialize with a value.


Member Function Documentation

bool Galois::GAtomic< bool >::cas ( bool  expected,
bool  updated 
) [inline]

direct compare and swap

Galois::GAtomic< bool >::operator bool (  )  const [inline]

conversion operator to base data type

bool Galois::GAtomic< bool >::operator= ( const GAtomic< bool > &  i  )  [inline]

assignment operator

bool Galois::GAtomic< bool >::operator= ( bool  i  )  [inline]

assign from underlying type


Member Data Documentation

bool Galois::GAtomic< bool >::val [private]

The documentation for this class was generated from the following file:
Generated on Tue Aug 2 11:51:29 2011 for Galois by  doxygen 1.6.3