Lines Matching defs:mutex
18 * Encapsulate a mutex for thread synchronization.
56 ** Description: Block the thread and try lock the mutex.
68 ** Description: Unlock a mutex to unblock a thread.
80 ** Description: Try to lock the mutex.
82 ** Returns: True if the mutex is locked.
92 ** Description: Get the handle of the mutex.
94 ** Returns: Handle of the mutex.
101 inline Autolock(Mutex& mutex) : mLock(mutex) { mLock.lock(); }
102 inline Autolock(Mutex* mutex) : mLock(*mutex) { mLock.lock(); }