Searched defs:mutex (Results 1 - 3 of 3) sorted by relevance

/packages/apps/Nfc/nxp/jni/
H A Dcom_android_nfc_list.h35 pthread_mutex_t mutex; member in struct:listHead
/packages/apps/Nfc/nci/jni/
H A DMutex.h18 * 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(); } argument
102 inline Autolock(Mutex* mutex) argument
[all...]
H A DCondVar.cpp76 void CondVar::wait (Mutex& mutex) argument
78 int const res = pthread_cond_wait (&mCondition, mutex.nativeHandle());
96 bool CondVar::wait (Mutex& mutex, long millisec) argument
122 int waitResult = pthread_cond_timedwait_monotonic_np (&mCondition, mutex.nativeHandle(), &absoluteTime);

Completed in 64 milliseconds