Home
last modified time | relevance | path

Searched refs:th2 (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/compiler-rt/test/tsan/
H A Dfork_multithreaded3.cpp23 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 Dcond.c44 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 Dfork_multithreaded.cpp38 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 Dthread_tls_test.cpp32 __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 Ddestructor.pass.cpp53 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 Ddestructor.pass.cpp52 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 Dasan_mac_test.cpp54 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()