fatomic.cpp File Reference

#include "pluginterfaces/base/ftypes.h"
#include "base/source/fatomic.h"

Namespaces

namespace  Steinberg

Functions

int32 FAtomicIncrement (volatile int32 &var)
 Thread and multiprocessor safe increment.
int32 FAtomicDecrement (volatile int32 &var)
 Thread and multiprocessor safe decrement.
int32 FAtomicAdd (volatile int32 &var, int32 d)
 Thread & multiprocessor safe addition.
bool FAtomicCompareAndSwap (volatile int32 &var, int32 oldVar, int32 newVar)
 Thread & multiprocessor safe compare and swap compare var with oldVar and if they are equal set var to newVar.
bool FAtomicCompareAndSwap (volatile void *&var, void *oldVar, void *newVar)
 Thread & multiprocessor safe compare and swap compare var with oldVar and if they are equal set var to newVar.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Empty

Copyright ©2013 Steinberg Media Technologies GmbH. All Rights Reserved.