MezzanineEngine 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Constant Groups | Functions
atomicoperations.h File Reference

Simple thread safe ways to check and change a specified variable atomically. More...

#include "datatypes.h"
+ Include dependency graph for atomicoperations.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Mezzanine
 The bulk of the engine components go in this namspace.
 
 Mezzanine::Threading
 This is where game specific threading algorithms and a minimalistic subset of the std threading library a held.
 

Constant Groups

 Mezzanine
 The bulk of the engine components go in this namspace.
 
 Mezzanine::Threading
 This is where game specific threading algorithms and a minimalistic subset of the std threading library a held.
 

Functions

Int32 Mezzanine::Threading::AtomicAdd (Int32 *VariableToChange, Int32 Value)
 Increments a value in a way guaranteed to not lose any atomic increments. More...
 
Int32 Mezzanine::Threading::AtomicCompareAndSwap32 (Int32 *VariableToChange, const Int32 &OldValue, const Int32 &NewValue)
 Atomically Compares And Swaps a 32 bit value. More...
 

Detailed Description

Simple thread safe ways to check and change a specified variable atomically.

Definition in file atomicoperations.h.