| include/Zycore/Atomic.h(3) | Library Functions Manual | include/Zycore/Atomic.h(3) |
include/Zycore/Atomic.h
#include <Zycore/Defines.h>
#include <Zycore/Types.h>
struct ZyanAtomic32_
struct ZyanAtomic64_
struct ZyanAtomicPointer_
#define ZYAN_ATOMIC_COMPARE_EXCHANGE(destination,
comparand, value)
ZyanAtomicCompareExchange((ZyanAtomicPointer*)&(destination),
(comparand), (value))
#define ZYAN_ATOMIC_INCREMENT(destination)
ZyanAtomicIncrement((ZyanAtomicPointer*)&(destination));
#define ZYAN_ATOMIC_DECREMENT(destination)
ZyanAtomicDecrement((ZyanAtomicPointer*)&(destination));
#define ZYAN_ATOMIC_COMPARE_EXCHANGE32(destination, comparand, value)
ZyanAtomicCompareExchange32((ZyanAtomic32*)&(destination),
(comparand), (value))
#define ZYAN_ATOMIC_INCREMENT32(destination)
ZyanAtomicIncrement32((ZyanAtomic32*)&(destination));
#define ZYAN_ATOMIC_DECREMENT32(destination)
ZyanAtomicDecrement32((ZyanAtomic32*)&(destination));
#define ZYAN_ATOMIC_COMPARE_EXCHANGE64(destination, comparand, value)
ZyanAtomicCompareExchange64((ZyanAtomic64*)&(destination),
(comparand), (value))
#define ZYAN_ATOMIC_INCREMENT64(destination)
ZyanAtomicIncrement64((ZyanAtomic64*)&(destination));
#define ZYAN_ATOMIC_DECREMENT64(destination)
ZyanAtomicDecrement64((ZyanAtomic64*)&(destination));
typedef struct ZyanAtomic32_ ZyanAtomic32
typedef struct ZyanAtomic64_ ZyanAtomic64
typedef struct ZyanAtomicPointer_ ZyanAtomicPointer
Cross compiler atomic intrinsics.
Compares two values for equality and, if they are equal, replaces the first value.
Parameters
Returns
Compares two values for equality and, if they are equal, replaces the first value.
Parameters
Returns
Compares two values for equality and, if they are equal, replaces the first value.
Parameters
Returns
Decrements the given value and stores the result, as an atomic operation.
Parameters
Returns
Decrements the given value and stores the result, as an atomic operation.
Parameters
Returns
Decrements the given value and stores the result, as an atomic operation.
Parameters
Returns
Increments the given value and stores the result, as an atomic operation.
Parameters
Returns
Increments the given value and stores the result, as an atomic operation.
Parameters
Returns
Increments the given value and stores the result, as an atomic operation.
Parameters
Returns
Generated automatically by Doxygen for Zycore from the source code.
| Version 1.5.2.0 | Zycore |