The Nebula Device 3: Win32::Win32Interlocked Class Reference

The Nebula Device 3

Win32::Win32Interlocked Class Reference

#include <win32interlocked.h>

Inheritance diagram for Win32::Win32Interlocked:

Threading::Interlocked


Detailed Description

Provides simple atomic operations on shared 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