The Nebula Device 3: Threading::Interlocked Class Reference

The Nebula Device 3

Threading::Interlocked Class Reference

#include <interlocked.h>

Inheritance diagram for Threading::Interlocked:

Win32::Win32Interlocked


Detailed Description

Provide simple atomic operations on memory variables.

(C) 2006 Radon Labs GmbH

Static Public Member Functions

static void Increment (int volatile &var)
 interlocked increment
static void Decrement (int volatile &var)
 interlocked decrement
static void Add (int volatile &var, int add)
 interlocked add