Home | History | Annotate | Download | only in tests

Lines Matching full:pthread_join

71   return reinterpret_cast<void*>(pthread_join(reinterpret_cast<pthread_t>(arg), NULL));
86 ASSERT_EQ(0, pthread_join(t, &result));
96 ASSERT_EQ(0, pthread_join(t, &result));
117 // ...pthread_join should fail.
119 ASSERT_EQ(EINVAL, pthread_join(t1, &result));
132 sleep(1); // (Give t2 a chance to call pthread_join.)
142 ASSERT_EQ(0, pthread_join(t2, &join_result));
148 ASSERT_EQ(EDEADLK, pthread_join(pthread_self(), &result));
191 ASSERT_EQ(0, pthread_join(signal_thread, &join_result));
322 ASSERT_EQ(ESRCH, pthread_join(dead_thread, &result));
341 sleep(1); // (Give t2 a chance to call pthread_join.)
344 ASSERT_EQ(EINVAL, pthread_join(t1, NULL));
350 ASSERT_EQ(0, pthread_join(t2, &join_result));
366 pthread_join(t, &join_result);
382 pthread_join(t, &join_result);