Searched refs:evt_lock (Results 1 – 2 of 2) sorted by relevance
176 pthread_mutex_lock(&my_obj->evt_lock); in mm_camera_event_notify()180 pthread_mutex_unlock(&my_obj->evt_lock); in mm_camera_event_notify()350 pthread_mutex_init(&my_obj->evt_lock, NULL); in mm_camera_open()446 pthread_mutex_destroy(&my_obj->evt_lock); in mm_camera_close()1808 pthread_mutex_lock(&my_obj->evt_lock); in mm_camera_util_wait_for_event()1812 rc = pthread_cond_timedwait(&my_obj->evt_cond, &my_obj->evt_lock, &ts); in mm_camera_util_wait_for_event()1826 pthread_mutex_unlock(&my_obj->evt_lock); in mm_camera_util_wait_for_event()
532 pthread_mutex_t evt_lock; member