Lines Matching refs:pthread_create
174 ASSERT_EQ(0, pthread_create(&t, &attr, DirtyKeyFn, &key)); in TEST()
246 ASSERT_EQ(0, pthread_create(&t, nullptr, IdFn, nullptr)); in MakeDeadThread()
250 TEST(pthread, pthread_create) { in TEST() argument
254 ASSERT_EQ(0, pthread_create(&t, nullptr, IdFn, expected_result)); in TEST()
267 ASSERT_EQ(EAGAIN, pthread_create(&t, &attributes, IdFn, nullptr)); in TEST()
274 ASSERT_EQ(0, pthread_create(&t1, nullptr, spin_helper.GetFunction(), nullptr)); in TEST()
288 ASSERT_EQ(0, pthread_create(&t1, nullptr, spin_helper.GetFunction(), nullptr)); in TEST()
292 ASSERT_EQ(0, pthread_create(&t2, nullptr, JoinFn, reinterpret_cast<void*>(t1))); in TEST()
326 …ASSERT_EQ(0, pthread_create(&t, nullptr, TestBug37410::thread_fn, reinterpret_cast<void*>(&data))); in main()
395 ASSERT_EQ(0, pthread_create(&signal_thread, nullptr, SignalHandlerFn, &received_signal)); in TEST()
436 ASSERT_EQ(0, pthread_create(&signal_thread, nullptr, SignalHandlerFn, &received_signal)); in TEST()
477 ASSERT_EQ(0, pthread_create(&t, nullptr, spin_helper.GetFunction(), nullptr)); in TEST()
491 ASSERT_EQ(0, pthread_create(&t, nullptr, spin_helper.GetFunction(), nullptr)); in TEST()
552 ASSERT_EQ(0, pthread_create(&thread, nullptr, in TEST()
585 ASSERT_EQ(0, pthread_create(&t, nullptr, spin_helper.GetFunction(), nullptr)); in TEST()
687 ASSERT_EQ(0, pthread_create(&t1, nullptr, spin_helper.GetFunction(), nullptr)); in TEST()
690 ASSERT_EQ(0, pthread_create(&t2, nullptr, JoinFn, reinterpret_cast<void*>(t1))); in TEST()
717 ASSERT_EQ(0, pthread_create(&t, &a, IdFn, nullptr)); in TEST()
733 pthread_create(&t, &attributes, GetActualGuardSizeFn, &result); in GetActualGuardSize()
748 pthread_create(&t, &attributes, GetActualStackSizeFn, &result); in GetActualStackSize()
955 ASSERT_EQ(0, pthread_create(&thread, nullptr, in test_pthread_rwlock_reader_wakeup_writer()
1022 ASSERT_EQ(0, pthread_create(&thread, nullptr, in test_pthread_rwlock_writer_wakeup_reader()
1115 ASSERT_EQ(0, pthread_create(&thread, nullptr, in pthread_rwlock_timedrdlock_timeout_helper()
1183 ASSERT_EQ(0, pthread_create(&thread, nullptr, in pthread_rwlock_timedwrlock_timeout_helper()
1264 ASSERT_EQ(0, pthread_create(&thread, nullptr, in CreateWriterThread()
1271 ASSERT_EQ(0, pthread_create(&thread, nullptr, in CreateReaderThread()
1501 ASSERT_EQ(0, pthread_create(&thread, nullptr, reinterpret_cast<void* (*)(void*)>(WaitThreadFn), in StartWaitingThread()
1894 ASSERT_EQ(0, pthread_create(&t, nullptr, in TEST()
1923 pthread_create(&t, nullptr, pthread_gettid_np_helper, &t_gettid_result); in TEST()
1969 ASSERT_EQ(0, pthread_create(&t, nullptr, PthreadCleanupStartRoutine, nullptr)); in TEST()
2045 pthread_create(&thread, nullptr, [](void* mutex_voidp) -> void* { in UnlockFromAnotherThread()
2201 ASSERT_EQ(0, pthread_create(&thread, nullptr, in test()
2299 ASSERT_EQ(0, pthread_create(&thread, nullptr, in test()
2427 ASSERT_EQ(0, pthread_create(&thread, nullptr, ThreadFn, &thread_args)); in pthread_mutex_timedlock_pi_helper()
2707 ASSERT_EQ(0, pthread_create(&threads[i], nullptr, in TEST()
2734 ASSERT_EQ(0, pthread_create(&thread, nullptr, in TEST()
2780 ASSERT_EQ(0, pthread_create(&threads[i], nullptr, in TEST()
2849 int status = pthread_create(&t, &attr, IdFn, nullptr); in TEST()
2902 ASSERT_EQ(0, pthread_create(&t, &attr, IdFn, nullptr)); in TEST()
2908 ASSERT_EQ(EINVAL, pthread_create(&t, &attr, IdFn, nullptr)); in TEST()
2927 ASSERT_EQ(0, pthread_create(&t, &attr, spin_helper.GetFunction(), nullptr)); in TEST()
2949 ASSERT_EQ(0, pthread_create(&t, &attr, spin_helper.GetFunction(), nullptr)); in TEST()
2970 ASSERT_EQ(0, pthread_create(&t, &attr, spin_helper.GetFunction(), nullptr)); in TEST()