Home
last modified time | relevance | path

Searched refs:m_mutex (Results 1 – 8 of 8) sorted by relevance

/hardware/samsung_slsi/exynos5/mobicore/daemon/Common/
DCSemaphore.cpp41 pthread_mutex_init(&m_mutex, NULL); in CSemaphore()
49 pthread_mutex_destroy(&m_mutex); in ~CSemaphore()
57 pthread_mutex_lock(&m_mutex); in wait()
60 pthread_cond_wait(&m_cond, &m_mutex); in wait()
63 pthread_mutex_unlock(&m_mutex); in wait()
76 pthread_mutex_lock(&m_mutex); in wait()
79 rc = pthread_cond_timedwait(&m_cond, &m_mutex, &tm); in wait()
86 pthread_mutex_unlock(&m_mutex); in wait()
95 pthread_mutex_lock(&m_mutex); in wouldWait()
98 pthread_mutex_unlock(&m_mutex); in wouldWait()
[all …]
DCMutex.cpp41 pthread_mutex_init(&m_mutex, NULL); in CMutex()
51 pthread_mutex_destroy(&m_mutex); in ~CMutex()
61 return pthread_mutex_lock(&m_mutex); in lock()
70 return pthread_mutex_trylock(&m_mutex); in trylock()
79 return pthread_mutex_unlock(&m_mutex); in unlock()
DCMutex.h57 pthread_mutex_t m_mutex;
DCSemaphore.h62 pthread_mutex_t m_mutex;
/hardware/samsung_slsi/exynos5/libexynosutils/
DExynosMutex.cpp47 m_mutex = NULL; in ExynosMutex()
81 m_mutex = new Mutex(androidMutexType, name); in create()
82 if (m_mutex == NULL) { in create()
102 if (m_mutex) in destroy()
103 delete ((Mutex *)m_mutex); in destroy()
104 m_mutex = NULL; in destroy()
125 if (((Mutex *)m_mutex)->lock() != 0) { in lock()
148 ((Mutex *)m_mutex)->unlock(); in unLock()
170 ret = ((Mutex *)m_mutex)->tryLock(); in tryLock()
DExynosMutex.h77 void *m_mutex;
/hardware/qcom/media/mm-video-legacy/vidc/venc/test/
Dvenc_test.cpp308 static pthread_mutex_t m_mutex; variable
998 pthread_mutex_lock(&m_mutex); in SendMessage()
1009 pthread_mutex_unlock(&m_mutex); in SendMessage()
1014 pthread_mutex_lock(&m_mutex); in PopMessage()
1017 pthread_cond_wait(&m_signal, &m_mutex); in PopMessage()
1022 pthread_mutex_unlock(&m_mutex); in PopMessage()
1489 pthread_mutex_lock(&m_mutex); in VencTest_ReadAndEmpty()
1503 pthread_mutex_unlock(&m_mutex); in VencTest_ReadAndEmpty()
1528 pthread_mutex_lock(&m_mutex); in PreviewCallback()
1530 pthread_mutex_unlock(&m_mutex); in PreviewCallback()
[all …]
/hardware/qcom/media/mm-video-v4l2/vidc/venc/test/
Dvenc_test.cpp337 static pthread_mutex_t m_mutex; variable
1015 pthread_mutex_lock(&m_mutex); in SendMessage()
1029 pthread_mutex_unlock(&m_mutex); in SendMessage()
1034 pthread_mutex_lock(&m_mutex); in PopMessage()
1037 pthread_cond_wait(&m_signal, &m_mutex); in PopMessage()
1043 pthread_mutex_unlock(&m_mutex); in PopMessage()
1522 pthread_mutex_lock(&m_mutex); in VencTest_ReadAndEmpty()
1536 pthread_mutex_unlock(&m_mutex); in VencTest_ReadAndEmpty()
1560 pthread_mutex_lock(&m_mutex); in PreviewCallback()
1562 pthread_mutex_unlock(&m_mutex); in PreviewCallback()
[all …]