Public Member Functions

Semaphore::Scoped_Lock Class Reference

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

#include <Semaphore.h>

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

List of all members.

Public Member Functions

 Scoped_Lock (Semaphore &semaphore)
 Constructor, takes in reference to Semaphore object that will be controlled.
 ~Scoped_Lock ()
 Destructor, releases Semaphore object.

Detailed Description

Semaphore is acquired on Scoped_Lock construction and released on destruction.

MCPN Logo
kr0st © 2010