winstl/synch/atomic_functions.h File Reference


Detailed Description

[C++ only] Definition of the atomic functions (Synchronisation Library).

#include <winstl/winstl.h>
#include <winstl/synch/atomic_types.h>
#include <winstl/synch/spin_mutex.hpp>

Go to the source code of this file.

Namespaces

namespace  winstl

Defines

#define WINSTL_ATOMIC_FNS_DECL_(type)   inline type WINSTL_ATOMIC_FNS_CALLCONV
#define WINSTL_ATOMIC_FNS_IMPL_(type)   inline type WINSTL_ATOMIC_FNS_CALLCONV

Functions

 WINSTL_ATOMIC_FNS_DECL_ (atomic_int_t) atomic_preincrement_up(atomic_int_t volatile *pl)
 WINSTL_ATOMIC_FNS_DECL_ (void) atomic_increment_up(atomic_int_t volatile *pl)
STLSOFT_INLINE atomic_int_t atomic_preadd_up (atomic_int_t volatile *pl, atomic_int_t n)
STLSOFT_INLINE void atomic_increment_smp (atomic_int_t volatile *pl)
STLSOFT_INLINE void atomic_decrement_smp (atomic_int_t volatile *pl)
STLSOFT_INLINE atomic_int_t atomic_preadd_smp (atomic_int_t volatile *pl, atomic_int_t n)
STLSOFT_INLINE atomic_int_t atomic_preadd (atomic_int_t volatile *pl, atomic_int_t n)

Variables

atomic_int_t n


Generated on Thu Jun 10 08:58:00 2010 for STLSoft by  doxygen 1.5.6