Searched refs:mutex (Results 1 – 7 of 7) sorted by relevance
29 if(pthread_mutex_init(&pList->mutex, NULL) == -1) in listInit()45 if(pthread_mutex_destroy(&pList->mutex) == -1) in listDestroy()72 pthread_mutex_lock(&pList->mutex); in listAdd()96 pthread_mutex_unlock(&pList->mutex); in listAdd()106 pthread_mutex_lock(&pList->mutex); in listRemove()159 pthread_mutex_unlock(&pList->mutex); in listRemove()168 pthread_mutex_lock(&pList->mutex); in listGetAndRemoveNext()196 pthread_mutex_unlock(&pList->mutex); in listGetAndRemoveNext()
35 pthread_mutex_t mutex; member
271 AutoMutex mutex(mMutex); in removeServer() local580 AutoMutex mutex(mMutex); in removeConn() local728 AutoMutex mutex(mMutex); in findClient() local750 AutoMutex mutex(mMutex); in findClient() local772 AutoMutex mutex(mMutex); in findClientCon() local794 AutoMutex mutex(mMutex); in findConnection() local833 AutoMutex mutex(mMutex); in findConnection() local1154 AutoMutex mutex(mMutex); in handleNfcOnOff() local1680 AutoMutex mutex(mMutex); in unblockAll() local1700 AutoMutex mutex(mMutex); in allocateConnection() local[all …]
101 inline Autolock(Mutex& mutex) : mLock(mutex) { mLock.lock(); } in Autolock() argument102 inline Autolock(Mutex* mutex) : mLock(*mutex) { mLock.lock(); } in Autolock() argument
76 void CondVar::wait (Mutex& mutex) in wait() argument78 int const res = pthread_cond_wait (&mCondition, mutex.nativeHandle()); in wait()96 bool CondVar::wait (Mutex& mutex, long millisec) in wait() argument122 …int waitResult = pthread_cond_timedwait_monotonic_np (&mCondition, mutex.nativeHandle(), &absolute… in wait()
62 void wait (Mutex& mutex);75 bool wait (Mutex& mutex, long millisec);
350 AutoMutex mutex(mMutex); in isRfFieldOn() local