Base Module  VST 3.6.5
SDK for developing VST Plug-in
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Namespaces | Functions
fatomic.cpp File Reference
#include "pluginterfaces/base/ftypes.h"
#include "base/source/fatomic.h"

Namespaces

 Steinberg
 

Functions

int32 FAtomicIncrement (volatile int32 &var)
 Thread and multiprocessor safe increment. More...
 
int32 FAtomicDecrement (volatile int32 &var)
 Thread and multiprocessor safe decrement. More...
 
int32 FAtomicAdd (volatile int32 &var, int32 d)
 Thread & multiprocessor safe addition. More...
 
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. More...
 
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. More...
 
Empty

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