Searched refs:cond_mutex (Results 1 – 3 of 3) sorted by relevance
79 static pthread_mutex_t cond_mutex = PTHREAD_MUTEX_INITIALIZER; variable97 pthread_mutex_lock(&cond_mutex); in func_nonrt()98 pthread_cond_wait(&cond_var, &cond_mutex); in func_nonrt()99 pthread_mutex_unlock(&cond_mutex); in func_nonrt()153 pthread_mutex_lock(&cond_mutex); in func_noise()155 pthread_mutex_unlock(&cond_mutex); in func_noise()221 pthread_mutex_destroy(&cond_mutex); in main()
80 static pthread_mutex_t cond_mutex = PTHREAD_MUTEX_INITIALIZER; variable97 pthread_mutex_lock(&cond_mutex); in func_lowrt()98 pthread_cond_wait(&cond_var, &cond_mutex); in func_lowrt()99 pthread_mutex_unlock(&cond_mutex); in func_lowrt()154 pthread_mutex_lock(&cond_mutex); in func_noise()156 pthread_mutex_unlock(&cond_mutex); in func_noise()218 pthread_mutex_destroy(&cond_mutex); in main()
78 static pthread_mutex_t cond_mutex = PTHREAD_MUTEX_INITIALIZER; variable95 pthread_mutex_lock(&cond_mutex); in func_nonrt()96 pthread_cond_wait(&cond_var, &cond_mutex); in func_nonrt()97 pthread_mutex_unlock(&cond_mutex); in func_nonrt()152 pthread_mutex_lock(&cond_mutex); in func_noise()154 pthread_mutex_unlock(&cond_mutex); in func_noise()217 pthread_mutex_destroy(&cond_mutex); in main()