Logo Search packages:      
Sourcecode: scummvm version File versions

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

Lock the given mutex.

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.
mutex the mutex to lock.

Generated by  Doxygen 1.6.0   Back to index