Public Member Functions

Mutex::Scoped_Lock Class Reference

Mutex is acquired on Scoped_Lock construction and released on destruction. More...

#include <Mutex.h>

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

List of all members.

Public Member Functions

 Scoped_Lock (Mutex &mutex)
 Constructor, takes in reference to Mutex object that will be controlled.
virtual ~Scoped_Lock ()
 Destructor, releases Mutex object.

Detailed Description

Mutex is acquired on Scoped_Lock construction and released on destruction.

MCPN Logo
kr0st © 2010