Main Page
Modules
Classes
Files
Directories
Related Pages
S
earch for
Alphabetical List
Class List
Class Hierarchy
Class Members
ScopedMutex Class Reference
Simple exception safe mutex sentinel.
More...
#include <scopedmutex.h>
Collaboration diagram for ScopedMutex:
[
legend
]
List of all members.
Public Member Functions
ScopedMutex
(pthread_mutex_t *mutex)
Lock
mutex
for the lifetime of this object.
~ScopedMutex
()
Unlock the mutex again.
Detailed Description
Simple exception safe mutex sentinel.
Warning:
This does not, and cannot protect against thread cancellation. It should not be used in such contexts if the mutex held will outlive the thread being cancelled.
Generated on Fri Jan 4 13:16:27 2008 for libvpb by
1.5.4