class GradSoft::MutexLocker

MutexLocker : lock mutex on creation, unlock on desctruction.

Public Methods

[more] MutexLocker(Mutex& mutex) throw(ThreadingExceptions::Failure)
[more] ~MutexLocker() throw(ThreadingExceptions::Failure)


Documentation

MutexLocker : lock mutex on creation, unlock on desctruction. Usage: <code> { MutexLocker locker(mutex); .... critical section operations is here .... } </code>
o MutexLocker(Mutex& mutex) throw(ThreadingExceptions::Failure)

o ~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++.