Logo Search packages:      
Sourcecode: scummvm version File versions

Common::StackLock Class Reference

#include <mutex.h>

List of all members.

Detailed Description

Auxillary class to (un)lock a mutex on the stack.

Definition at line 44 of file mutex.h.

Public Member Functions

 StackLock (const Mutex &mutex, const char *mutexName=NULL)
 StackLock (MutexRef mutex, const char *mutexName=NULL)

Private Member Functions

void lock ()
void unlock ()

Private Attributes

MutexRef _mutex
const char * _mutexName

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index