Public Member Functions

Spin_Mutex::Scoped_Lock Class Reference

Spin_Mutex object is acquired on Scoped_Lock construction and released on destruction. More...

#include <Spin_Mutex.h>

Collaboration diagram for Spin_Mutex::Scoped_Lock:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Scoped_Lock (Spin_Mutex &lock, unsigned int PNumber=GetCurrentThreadId())
 Constructor, takes in reference to Spin_Mutex object that will be controlled.
virtual ~Scoped_Lock ()
 Destructor, releases Mutex object.

Detailed Description

Spin_Mutex object is acquired on Scoped_Lock construction and released on destruction.

MCPN Logo
kr0st © 2010