library of assembled shared sources

http://lass.cocamware.com

lass::util::impl::AtomicOperations< 4 > Struct Template Reference
[Atomic]

#include <atomic_impl.h>


Static Public Member Functions

template<typename T >
static T LASS_CALL compareAndSwap (volatile T &dest, T expectedValue, T newValue)
template<typename T1 , typename T2 >
static bool LASS_CALL compareAndSwap (volatile T1 &dest1, T1 expected1, T2 expected2, T1 new1, T2 new2)
template<typename T >
static void LASS_CALL increment (volatile T &value)
template<typename T >
static void LASS_CALL decrement (volatile T &value)


Detailed Description

template<>
struct lass::util::impl::AtomicOperations< 4 >

Definition at line 341 of file atomic_impl.h.


Member Function Documentation

template<typename T >
static T LASS_CALL lass::util::impl::AtomicOperations< 4 >::compareAndSwap ( volatile T &  dest,
expectedValue,
newValue 
) [inline, static]

Definition at line 344 of file atomic_impl.h.

template<typename T1 , typename T2 >
static bool LASS_CALL lass::util::impl::AtomicOperations< 4 >::compareAndSwap ( volatile T1 &  dest1,
T1  expected1,
T2  expected2,
T1  new1,
T2  new2 
) [inline, static]

Definition at line 371 of file atomic_impl.h.

template<typename T >
static void LASS_CALL lass::util::impl::AtomicOperations< 4 >::increment ( volatile T &  value  )  [inline, static]

Definition at line 423 of file atomic_impl.h.

template<typename T >
static void LASS_CALL lass::util::impl::AtomicOperations< 4 >::decrement ( volatile T &  value  )  [inline, static]

Definition at line 445 of file atomic_impl.h.


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

Generated on Mon Nov 10 14:22:18 2008 for Library of Assembled Shared Sources by doxygen 1.5.7.1
SourceForge.net Logo