PtMutexLocker Class Reference
[Cross-platform threads implementation]

MutexLocker class. More...

List of all members.

Public Member Functions

 PtMutexLocker (PtMutex &mutex)
 ~PtMutexLocker ()
 


Detailed Description

MutexLocker class.

Helper class for automatically accuring and releasing mutex

Author:
A. Abramov, 13.05.2009.

Constructor & Destructor Documentation

PtMutexLocker::PtMutexLocker ( PtMutex mutex  ) 

Constructs PtMutexLocker for given PtMutex.
At this point the mutex also automatically locked.

PtMutexLocker::~PtMutexLocker (  ) 

Automatically releases the given mutex.



 
©2009 Positive Technologies
 
Generated on Fri May 22 18:17:01 2009 for wpcObj by 
 
 
1.5.7
 
Get wpcObj at SourceForge.net. Fast, secure and Free Open Source software downloads