Lines Matching refs:thread
551 pthread_t thread; in TEST() local
552 ASSERT_EQ(0, pthread_create(&thread, nullptr, in TEST()
565 ASSERT_EQ(ESRCH, pthread_kill(thread, 0)); in TEST()
954 pthread_t thread; in test_pthread_rwlock_reader_wakeup_writer() local
955 ASSERT_EQ(0, pthread_create(&thread, nullptr, in test_pthread_rwlock_reader_wakeup_writer()
963 ASSERT_EQ(0, pthread_join(thread, nullptr)); in test_pthread_rwlock_reader_wakeup_writer()
1002 pthread_t thread; in test_pthread_rwlock_writer_wakeup_reader() local
1003 ASSERT_EQ(0, pthread_create(&thread, nullptr, in test_pthread_rwlock_writer_wakeup_reader()
1011 ASSERT_EQ(0, pthread_join(thread, nullptr)); in test_pthread_rwlock_writer_wakeup_reader()
1076 pthread_t thread; in pthread_rwlock_timedrdlock_timeout_helper() local
1077 ASSERT_EQ(0, pthread_create(&thread, nullptr, in pthread_rwlock_timedrdlock_timeout_helper()
1082 ASSERT_EQ(0, pthread_join(thread, nullptr)); in pthread_rwlock_timedrdlock_timeout_helper()
1112 pthread_t thread; in pthread_rwlock_timedwrlock_timeout_helper() local
1113 ASSERT_EQ(0, pthread_create(&thread, nullptr, in pthread_rwlock_timedwrlock_timeout_helper()
1118 ASSERT_EQ(0, pthread_join(thread, nullptr)); in pthread_rwlock_timedwrlock_timeout_helper()
1159 void CreateWriterThread(pthread_t& thread, std::atomic<pid_t>& tid) { in CreateWriterThread() argument
1162 ASSERT_EQ(0, pthread_create(&thread, nullptr, in CreateWriterThread()
1166 void CreateReaderThread(pthread_t& thread, std::atomic<pid_t>& tid) { in CreateReaderThread() argument
1169 ASSERT_EQ(0, pthread_create(&thread, nullptr, in CreateReaderThread()
1379 pthread_t thread; member in pthread_CondWakeupTest
1398 …ASSERT_EQ(0, pthread_create(&thread, nullptr, reinterpret_cast<void* (*)(void*)>(WaitThreadFn), th… in StartWaitingThread()
1406 ASSERT_EQ(0, pthread_join(thread, nullptr)); in TearDown()
1847 pthread_t thread; in UnlockFromAnotherThread() local
1848 pthread_create(&thread, nullptr, [](void* mutex_voidp) -> void* { in UnlockFromAnotherThread()
1854 EXPECT_EQ(0, pthread_join(thread, &result)); in UnlockFromAnotherThread()
2003 pthread_t thread; in test() local
2004 ASSERT_EQ(0, pthread_create(&thread, nullptr, in test()
2013 ASSERT_EQ(0, pthread_join(thread, nullptr)); in test()
2101 pthread_t thread; in test() local
2102 ASSERT_EQ(0, pthread_create(&thread, nullptr, in test()
2113 ASSERT_EQ(0, pthread_join(thread, nullptr)); in test()
2214 pthread_t thread; in pthread_mutex_timedlock_pi_helper() local
2215 ASSERT_EQ(0, pthread_create(&thread, nullptr, ThreadFn, &thread_args)); in pthread_mutex_timedlock_pi_helper()
2217 ASSERT_EQ(0, pthread_join(thread, &result)); in pthread_mutex_timedlock_pi_helper()
2486 pthread_t thread; in TEST() local
2490 ASSERT_EQ(0, pthread_create(&thread, nullptr, in TEST()
2497 ASSERT_EQ(0, pthread_join(thread, nullptr)); in TEST()