Searched refs:s_mutex1 (Results 1 – 2 of 2) sorted by relevance
10 pthread_mutex_t s_mutex1; variable19 pthread_mutex_lock(&s_mutex1); in thread()21 pthread_cond_wait(&s_cond, &s_mutex1); in thread()31 pthread_mutex_init(&s_mutex1, 0); in main()35 pthread_mutex_lock(&s_mutex1); in main()39 pthread_cond_wait(&s_cond, &s_mutex1); in main()40 pthread_mutex_unlock(&s_mutex1); in main()
39 static pthread_mutex_t s_mutex1; variable113 PTH_CALL(pthread_mutex_init(&s_mutex1, 0)); in main()117 PTH_CALL(pthread_create(&tid1, 0, &thread_func, &s_mutex1)); in main()127 PTH_CALL(pthread_mutex_lock(&s_mutex1)); in main()130 PTH_CALL(pthread_mutex_unlock(&s_mutex1)); in main()