Lines Matching refs:g_hid2dEventMutex
38 static pthread_mutex_t g_hid2dEventMutex;
46 if (pthread_mutex_init(&g_hid2dEventMutex, NULL) != RET_CODE_SUCCESS) {
47 HDF_LOGE("%s: init g_hid2dEventMutex failed.", __FUNCTION__);
56 pthread_mutex_destroy(&g_hid2dEventMutex);
160 pthread_mutex_lock(&g_hid2dEventMutex);
167 pthread_mutex_unlock(&g_hid2dEventMutex);
184 pthread_mutex_lock(&g_hid2dEventMutex);
190 pthread_mutex_unlock(&g_hid2dEventMutex);
194 pthread_mutex_unlock(&g_hid2dEventMutex);
206 pthread_mutex_lock(&g_hid2dEventMutex);
212 pthread_mutex_unlock(&g_hid2dEventMutex);
216 pthread_mutex_unlock(&g_hid2dEventMutex);
232 pthread_mutex_lock(&g_hid2dEventMutex);
239 pthread_mutex_unlock(&g_hid2dEventMutex);
244 pthread_mutex_unlock(&g_hid2dEventMutex);