MutexLocker : lock mutex on creation, unlock on desctruction.
Public Methods
-
MutexLocker(Mutex& mutex) throw(ThreadingExceptions::Failure)
-
~MutexLocker() throw(ThreadingExceptions::Failure)
Documentation
MutexLocker :
lock mutex on creation, unlock on desctruction.
Usage:
<code>
{
MutexLocker locker(mutex);
....
critical section operations is here
....
}
</code>
MutexLocker(Mutex& mutex) throw(ThreadingExceptions::Failure)
~MutexLocker() throw(ThreadingExceptions::Failure)
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.