Lines Matching refs:pthread_create
179 ASSERT_EQ(0, pthread_create(&t, &attr, DirtyKeyFn, &key)); in TEST()
207 ASSERT_EQ(0, pthread_create(&t, &attr, FnWithStackFrame, nullptr)); in TEST()
275 ASSERT_EQ(0, pthread_create(&t, nullptr, IdFn, nullptr)); in MakeDeadThread()
279 TEST(pthread, pthread_create) { in TEST() argument
283 ASSERT_EQ(0, pthread_create(&t, nullptr, IdFn, expected_result)); in TEST()
296 ASSERT_EQ(EAGAIN, pthread_create(&t, &attributes, IdFn, nullptr)); in TEST()
303 ASSERT_EQ(0, pthread_create(&t1, nullptr, spin_helper.GetFunction(), nullptr)); in TEST()
317 ASSERT_EQ(0, pthread_create(&t1, nullptr, spin_helper.GetFunction(), nullptr)); in TEST()
321 ASSERT_EQ(0, pthread_create(&t2, nullptr, JoinFn, reinterpret_cast<void*>(t1))); in TEST()
355 …ASSERT_EQ(0, pthread_create(&t, nullptr, TestBug37410::thread_fn, reinterpret_cast<void*>(&data))); in main()
421 ASSERT_EQ(0, pthread_create(&signal_thread, nullptr, SignalHandlerFn, &received_signal)); in TEST()
462 ASSERT_EQ(0, pthread_create(&signal_thread, nullptr, SignalHandlerFn, &received_signal)); in TEST()
503 ASSERT_EQ(0, pthread_create(&t, nullptr, spin_helper.GetFunction(), nullptr)); in TEST()
517 ASSERT_EQ(0, pthread_create(&t, nullptr, spin_helper.GetFunction(), nullptr)); in TEST()
578 ASSERT_EQ(0, pthread_create(&thread, nullptr, in TEST()
611 ASSERT_EQ(0, pthread_create(&t, nullptr, spin_helper.GetFunction(), nullptr)); in TEST()
713 ASSERT_EQ(0, pthread_create(&t1, nullptr, spin_helper.GetFunction(), nullptr)); in TEST()
716 ASSERT_EQ(0, pthread_create(&t2, nullptr, JoinFn, reinterpret_cast<void*>(t1))); in TEST()
743 ASSERT_EQ(0, pthread_create(&t, &a, IdFn, nullptr)); in TEST()
759 pthread_create(&t, &attributes, GetActualGuardSizeFn, &result); in GetActualGuardSize()
774 pthread_create(&t, &attributes, GetActualStackSizeFn, &result); in GetActualStackSize()
984 ASSERT_EQ(0, pthread_create(&thread, nullptr, in test_pthread_rwlock_reader_wakeup_writer()
1051 ASSERT_EQ(0, pthread_create(&thread, nullptr, in test_pthread_rwlock_writer_wakeup_reader()
1144 ASSERT_EQ(0, pthread_create(&thread, nullptr, in pthread_rwlock_timedrdlock_timeout_helper()
1212 ASSERT_EQ(0, pthread_create(&thread, nullptr, in pthread_rwlock_timedwrlock_timeout_helper()
1295 ASSERT_EQ(0, pthread_create(&thread, nullptr, in CreateWriterThread()
1302 ASSERT_EQ(0, pthread_create(&thread, nullptr, in CreateReaderThread()
1581 ASSERT_EQ(0, pthread_create(&thread, nullptr, reinterpret_cast<void* (*)(void*)>(WaitThreadFn), in StartWaitingThread()
1973 ASSERT_EQ(0, pthread_create(&t, nullptr, in TEST()
2002 pthread_create(&t, nullptr, pthread_gettid_np_helper, &t_gettid_result); in TEST()
2048 ASSERT_EQ(0, pthread_create(&t, nullptr, PthreadCleanupStartRoutine, nullptr)); in TEST()
2124 pthread_create(&thread, nullptr, [](void* mutex_voidp) -> void* { in UnlockFromAnotherThread()
2284 ASSERT_EQ(0, pthread_create(&thread, nullptr, in test()
2382 ASSERT_EQ(0, pthread_create(&thread, nullptr, in test()
2528 ASSERT_EQ(0, pthread_create(&thread, nullptr, ThreadFn, &thread_args)); in pthread_mutex_timedlock_pi_helper()
2814 ASSERT_EQ(0, pthread_create(&threads[i], nullptr, in TEST()
2841 ASSERT_EQ(0, pthread_create(&thread, nullptr, in TEST()
2887 ASSERT_EQ(0, pthread_create(&threads[i], nullptr, in TEST()
2956 int status = pthread_create(&t, &attr, IdFn, nullptr); in TEST()
3009 ASSERT_EQ(0, pthread_create(&t, &attr, IdFn, nullptr)); in TEST()
3015 ASSERT_EQ(EINVAL, pthread_create(&t, &attr, IdFn, nullptr)); in TEST()
3034 ASSERT_EQ(0, pthread_create(&t, &attr, spin_helper.GetFunction(), nullptr)); in TEST()
3056 ASSERT_EQ(0, pthread_create(&t, &attr, spin_helper.GetFunction(), nullptr)); in TEST()
3077 ASSERT_EQ(0, pthread_create(&t, &attr, spin_helper.GetFunction(), nullptr)); in TEST()
3092 0, pthread_create( in TEST()
3103 if (pthread_create( in TEST()
3105 pthread_create( in TEST()