Lines Matching refs:pthread_create
84 ASSERT_EQ(0, pthread_create(&t, NULL, IdFn, NULL));
89 TEST(pthread, pthread_create) {
93 ASSERT_EQ(0, pthread_create(&t, NULL, IdFn, expected_result));
106 ASSERT_EQ(EAGAIN, pthread_create(&t, &attributes, IdFn, NULL));
111 ASSERT_EQ(0, pthread_create(&t1, NULL, SleepFn, reinterpret_cast<void*>(5)));
126 ASSERT_EQ(0, pthread_create(&t1, NULL, SpinFn, &done));
130 ASSERT_EQ(0, pthread_create(&t2, NULL, JoinFn, reinterpret_cast<void*>(t1)));
155 ASSERT_EQ(0, pthread_create(&t1, NULL, JoinFn, reinterpret_cast<void*>(pthread_self())));
184 ASSERT_EQ(0, pthread_create(&signal_thread, NULL, SignalHandlerFn, &received_signal));
229 ASSERT_EQ(0, pthread_create(&t1, NULL, SleepFn, reinterpret_cast<void*>(5)));
283 ASSERT_EQ(0, pthread_create(&t, NULL, SleepFn, reinterpret_cast<void*>(5)));
336 ASSERT_EQ(0, pthread_create(&t1, NULL, SpinFn, &done));
339 ASSERT_EQ(0, pthread_create(&t2, NULL, JoinFn, reinterpret_cast<void*>(t1)));
364 pthread_create(&t, &attributes, GetActualGuardSizeFn, &result);
380 pthread_create(&t, &attributes, GetActualStackSizeFn, &result);
394 // No such thing as too small: will be rounded up to one page by pthread_create.
406 // Large enough but not a multiple of the page size; will be rounded up by pthread_create.
433 // Large enough but not a multiple of the page size; will be rounded up by pthread_create.