Searched refs:mutex (Results 1 – 6 of 6) sorted by relevance
30 if(pthread_mutex_init(&pList->mutex, NULL) == -1) in listInit()46 if(pthread_mutex_destroy(&pList->mutex) == -1) in listDestroy()73 pthread_mutex_lock(&pList->mutex); in listAdd()97 pthread_mutex_unlock(&pList->mutex); in listAdd()107 pthread_mutex_lock(&pList->mutex); in listRemove()160 pthread_mutex_unlock(&pList->mutex); in listRemove()169 pthread_mutex_lock(&pList->mutex); in listGetAndRemoveNext()197 pthread_mutex_unlock(&pList->mutex); in listGetAndRemoveNext()
35 pthread_mutex_t mutex; member
273 AutoMutex mutex(mMutex); in removeServer() local596 AutoMutex mutex(mMutex); in removeConn() local744 AutoMutex mutex(mMutex); in findClient() local766 AutoMutex mutex(mMutex); in findClient() local788 AutoMutex mutex(mMutex); in findClientCon() local810 AutoMutex mutex(mMutex); in findConnection() local849 AutoMutex mutex(mMutex); in findConnection() local1207 AutoMutex mutex(mMutex); in handleNfcOnOff() local1733 AutoMutex mutex(mMutex); in unblockAll() local1753 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
80 void CondVar::wait (Mutex& mutex) in wait() argument82 int const res = pthread_cond_wait (&mCondition, mutex.nativeHandle()); in wait()100 bool CondVar::wait (Mutex& mutex, long millisec) in wait() argument122 int waitResult = pthread_cond_timedwait (&mCondition, mutex.nativeHandle(), &absoluteTime); in wait()
62 void wait (Mutex& mutex);75 bool wait (Mutex& mutex, long millisec);