Home | History | Annotate | Download | only in jni

Lines Matching refs:Mutex

18  *  Encapsulate a mutex for thread synchronization.
25 class Mutex
30 ** Function: Mutex
37 Mutex ();
42 ** Function: ~Mutex
49 ~Mutex ();
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(); }
105 Mutex& mLock;
113 typedef Mutex::Autolock AutoMutex;