juce_Atomic.h File Reference

Go to the source code of this file.

Functions

forcedinline void __fastcall atomicIncrement (int &variable) throw ()
 Increments an integer in a thread-safe way.
forcedinline int __fastcall atomicIncrementAndReturn (int &variable) throw ()
 Increments an integer in a thread-safe way and returns the incremented value.
forcedinline void __fastcall atomicDecrement (int &variable) throw ()
 Decrememts an integer in a thread-safe way.
forcedinline int __fastcall atomicDecrementAndReturn (int &variable) throw ()
 Decrememts an integer in a thread-safe way and returns the incremented value.


Function Documentation

forcedinline void __fastcall atomicIncrement int &  variable  )  throw ()
 

Increments an integer in a thread-safe way.

forcedinline int __fastcall atomicIncrementAndReturn int &  variable  )  throw ()
 

Increments an integer in a thread-safe way and returns the incremented value.

forcedinline void __fastcall atomicDecrement int &  variable  )  throw ()
 

Decrememts an integer in a thread-safe way.

forcedinline int __fastcall atomicDecrementAndReturn int &  variable  )  throw ()
 

Decrememts an integer in a thread-safe way and returns the incremented value.