Logo Search packages:      
Sourcecode: scummvm version File versions  Download package

virtual void OSystem::lockMutex ( MutexRef  mutex  )  [pure virtual]

Lock the given mutex.

Note:
ScummVM code assumes that the mutex implementation supports recursive locking. That is, a thread may lock a mutex twice w/o deadlocking. In case of a multilock, the mutex has to be unlocked as many times as it was locked befored it really becomes unlocked.
Parameters:
mutex the mutex to lock.


Generated by  Doxygen 1.6.0   Back to index