HomeSort by relevance Sort by last modified time
    Searched full:s_mutex1 (Results 1 - 2 of 2) sorted by null

  /external/valgrind/main/drd/tests/
pth_cancel_locked.c 10 pthread_mutex_t s_mutex1; variable
19 pthread_mutex_lock(&s_mutex1);
21 pthread_cond_wait(&s_cond, &s_mutex1);
31 pthread_mutex_init(&s_mutex1, 0);
35 pthread_mutex_lock(&s_mutex1);
39 pthread_cond_wait(&s_cond, &s_mutex1);
40 pthread_mutex_unlock(&s_mutex1);
pth_inconsistent_cond_wait.c 2 * associated with two different mutexes (s_mutex1 and s_mutex2), and two
39 static pthread_mutex_t s_mutex1; variable
113 PTH_CALL(pthread_mutex_init(&s_mutex1, 0));
117 PTH_CALL(pthread_create(&tid1, 0, &thread_func, &s_mutex1));
127 PTH_CALL(pthread_mutex_lock(&s_mutex1));
130 PTH_CALL(pthread_mutex_unlock(&s_mutex1));

Completed in 91 milliseconds