Searched refs:state_mutex (Results 1 – 4 of 4) sorted by relevance
216 pthread_mutex_t state_mutex; member272 pthread_mutex_lock(&s->state_mutex); in event_handler()276 pthread_mutex_unlock(&s->state_mutex); in event_handler()280 pthread_mutex_lock(&s->state_mutex); in event_handler()284 pthread_mutex_unlock(&s->state_mutex); in event_handler()378 pthread_mutex_lock(&s->state_mutex); in wait_for_state()380 pthread_cond_wait(&s->state_cond, &s->state_mutex); in wait_for_state()383 pthread_mutex_unlock(&s->state_mutex); in wait_for_state()594 pthread_mutex_lock(&s->state_mutex); in cleanup()596 pthread_mutex_unlock(&s->state_mutex); in cleanup()[all …]
127 static GMutex state_mutex; variable1503 g_mutex_lock (&state_mutex); in pause_cb()1523 g_mutex_unlock (&state_mutex); in pause_cb()1529 g_mutex_unlock (&state_mutex); in pause_cb()1544 g_mutex_lock (&state_mutex); in stop_cb()1561 g_mutex_unlock (&state_mutex); in stop_cb()1589 g_mutex_unlock (&state_mutex); in stop_cb()2163 if (g_mutex_trylock (&state_mutex)) { in msg_sync_step_done()2166 g_mutex_unlock (&state_mutex); in msg_sync_step_done()
189 GMutex state_mutex; member837 g_mutex_lock (&app->state_mutex); in pause_cb()858 g_mutex_unlock (&app->state_mutex); in pause_cb()864 g_mutex_unlock (&app->state_mutex); in pause_cb()881 g_mutex_lock (&app->state_mutex); in stop_cb()899 g_mutex_unlock (&app->state_mutex); in stop_cb()909 g_mutex_unlock (&app->state_mutex); in stop_cb()1625 if (g_mutex_trylock (&app->state_mutex)) { in msg_sync_step_done()1628 g_mutex_unlock (&app->state_mutex); in msg_sync_step_done()3489 g_mutex_init (&app->state_mutex); in set_defaults()[all …]
2058 static pthread_mutex_t state_mutex = PTHREAD_MUTEX_INITIALIZER; variable2079 pthread_mutex_lock(&state_mutex); in pcmjob_state()2092 pthread_mutex_unlock(&state_mutex); in pcmjob_state()