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

  /external/valgrind/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
114 PTH_CALL(pthread_mutex_init(&s_mutex1, 0));
118 PTH_CALL(pthread_create(&tid1, 0, &thread_func, &s_mutex1));
128 PTH_CALL(pthread_mutex_lock(&s_mutex1));
131 PTH_CALL(pthread_mutex_unlock(&s_mutex1));

Completed in 50 milliseconds