Public Member Functions

Spin_Lock::Scoped_Lock Class Reference

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

#include <Spin_Lock.h>

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

List of all members.

Public Member Functions

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

Detailed Description

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

MCPN Logo
kr0st © 2010