Searched refs:child_mutex (Results 1 – 7 of 7) sorted by relevance
46 pthread_mutex_t child_mutex = PTHREAD_MUTEX_INITIALIZER; variable93 pthread_mutex_lock(&child_mutex); in childfunc()95 if (pthread_cond_wait(cp, &child_mutex) != 0) { in childfunc()101 pthread_mutex_unlock(&child_mutex); in childfunc()147 pthread_mutex_lock(&child_mutex); in test_signal()150 pthread_mutex_unlock(&child_mutex); in test_signal()152 pthread_mutex_lock(&child_mutex); in test_signal()154 pthread_mutex_unlock(&child_mutex); in test_signal()169 pthread_mutex_lock(&child_mutex); in test_signal()173 pthread_mutex_unlock(&child_mutex); in test_signal()[all …]
50 pthread_mutex_t child_mutex; variable86 pthread_mutex_lock(&child_mutex); in childfunc()88 if (pthread_cond_wait(cp, &child_mutex) != 0) { in childfunc()94 pthread_mutex_unlock(&child_mutex); in childfunc()154 pthread_mutex_lock(&child_mutex); in wake_child()156 pthread_mutex_unlock(&child_mutex); in wake_child()158 pthread_mutex_lock(&child_mutex); in wake_child()160 pthread_mutex_unlock(&child_mutex); in wake_child()175 pthread_mutex_lock(&child_mutex); in wake_child()179 pthread_mutex_unlock(&child_mutex); in wake_child()[all …]
43 pthread_mutex_t child_mutex; variable49 ret = pthread_mutex_lock(&child_mutex); in child_thread()58 ret = pthread_mutex_lock(&child_mutex); in child_thread()86 retc = pthread_mutex_init(&child_mutex, &mutexattr); in do_test()
45 pthread_mutex_t child_mutex; variable51 ret = pthread_mutex_lock(&child_mutex); in child_thread()60 ret = pthread_mutex_lock(&child_mutex); in child_thread()86 retc = pthread_mutex_init(&child_mutex, &mutexattr); in do_test()
53 pthread_mutex_t child_mutex; /* mutex for the child_count */ member222 &parent->child_mutex); in synchronize_children()225 pthread_mutex_lock(&parent->child_mutex); in synchronize_children()234 &parent->child_mutex); in synchronize_children()237 pthread_mutex_unlock(&parent->child_mutex); in synchronize_children()583 pthread_mutex_init(&child_info[ind].child_mutex, NULL))) { in main()
209 &parent->child_mutex); in synchronize_children()212 pthread_mutex_lock(&parent->child_mutex); in synchronize_children()221 &parent->child_mutex); in synchronize_children()224 pthread_mutex_unlock(&parent->child_mutex); in synchronize_children()607 if ((rc = pthread_mutex_init(&child_info[ind].child_mutex, in main()
29 pthread_mutex_t child_mutex; /* mutex for the child_count */ member