Searched refs:th2 (Results 1 – 7 of 7) sorted by relevance
| /llvm-project-15.0.7/compiler-rt/test/tsan/ |
| H A D | fork_multithreaded3.cpp | 23 pthread_t th1, th2; in main() local 25 pthread_create(&th2, 0, racer, &x); in main() 27 pthread_join(th2, 0); in main()
|
| H A D | cond.c | 44 pthread_t th1, th2; in main() local 49 pthread_create(&th2, 0, thr2, 0); in main() 51 pthread_join(th2, 0); in main()
|
| H A D | fork_multithreaded.cpp | 38 pthread_t th2[kChildThreads]; in main() local 40 pthread_create(&th2[i], 0, nop, 0); in main() 42 pthread_join(th2[i], 0); in main()
|
| /llvm-project-15.0.7/libc/test/integration/src/__support/threads/ |
| H A D | thread_tls_test.cpp | 32 __llvm_libc::Thread th2; in thread_local_test() local 33 th2.run(func, nullptr, nullptr, 0); in thread_local_test() 34 th2.join(&retval); in thread_local_test()
|
| /llvm-project-15.0.7/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/ |
| H A D | destructor.pass.cpp | 53 std::thread th2 = support::make_test_thread(g); in main() local 60 th2.join(); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/thread/thread.condition/thread.condition.condvar/ |
| H A D | destructor.pass.cpp | 52 std::thread th2 = support::make_test_thread(g); in main() local 59 th2.join(); in main()
|
| /llvm-project-15.0.7/compiler-rt/lib/asan/tests/ |
| H A D | asan_mac_test.cpp | 54 pthread_t th1, th2; in CFAllocator_PassMemoryToAnotherThread() local 57 PTHREAD_CREATE(&th2, NULL, CFAllocatorDeallocateFromGlob, NULL); in CFAllocator_PassMemoryToAnotherThread() 58 PTHREAD_JOIN(th2, NULL); in CFAllocator_PassMemoryToAnotherThread()
|