Core Library
Namespaces | Functions
Interlocked.hpp File Reference

Define the intrinsic forms of the Interlocked* functions. More...

Namespaces

namespace  Core
 

The Core Library namespace.


Functions

long __cdecl _InterlockedIncrement (volatile long *lpValue)
long __cdecl _InterlockedDecrement (volatile long *lpValue)
long Core::atomicIncrement (volatile long &value)
 Thread-safe function for incrementing the value by one.
long Core::atomicDecrement (volatile long &value)
 Thread-safe function for decrementing the value by one.

Detailed Description

Define the intrinsic forms of the Interlocked* functions.

Author:
Chris Oldwood

Function Documentation

long __cdecl _InterlockedIncrement ( volatile long *  lpValue)
long __cdecl _InterlockedDecrement ( volatile long *  lpValue)