Home
last modified time | relevance | path

Searched refs:th1 (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/compiler-rt/test/tsan/
H A Dfork_multithreaded3.cpp23 pthread_t th1, th2; in main() local
24 pthread_create(&th1, 0, racer, &x); in main()
26 pthread_join(th1, 0); in main()
H A Dcond.c44 pthread_t th1, th2; in main() local
48 pthread_create(&th1, 0, thr1, 0); in main()
50 pthread_join(th1, 0); in main()
H A Dfork_multithreaded.cpp25 pthread_t th1[kNopThreads]; in main() local
27 pthread_create(&th1[i], 0, nop, 0); in main()
29 pthread_join(th1[i], 0); in main()
H A Dfork_deadlock.cpp17 pthread_t th1; in main() local
18 pthread_create(&th1, 0, incrementer, 0); in main()
/llvm-project-15.0.7/libc/test/integration/src/__support/threads/
H A Dthread_tls_test.cpp27 __llvm_libc::Thread th1; in thread_local_test() local
28 th1.run(func, nullptr, nullptr, 0); in thread_local_test()
29 th1.join(&retval); in thread_local_test()
/llvm-project-15.0.7/lldb/test/API/functionalities/gdb_remote_client/
H A DTestStopPCs.py44 th1 = process.GetThreadAtIndex(1)
46 self.assertEqual(th1.GetThreadID(), 0x2ff0d)
48 self.assertEqual(th1.GetFrameAtIndex(0).GetPC(), 0x10002bc00)
/llvm-project-15.0.7/compiler-rt/test/tsan/Linux/
H A Dfork_syscall.cpp17 pthread_t th1; in main() local
18 pthread_create(&th1, 0, incrementer, 0); in main()
/llvm-project-15.0.7/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/
H A Ddestructor.pass.cpp58 std::thread th1 = support::make_test_thread(f); in main() local
59 th1.join(); in main()
/llvm-project-15.0.7/libcxx/test/std/thread/thread.condition/thread.condition.condvar/
H A Ddestructor.pass.cpp57 std::thread th1 = support::make_test_thread(f); in main() local
58 th1.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
55 PTHREAD_CREATE(&th1, NULL, CFAllocatorAllocateToGlob, NULL); in CFAllocator_PassMemoryToAnotherThread()
56 PTHREAD_JOIN(th1, NULL); in CFAllocator_PassMemoryToAnotherThread()