/netbsd-src/tests/fs/vfs/ |
H A D | t_renamerace.c | 170 pthread_create(&pt1[i], NULL, w1, NULL); in renamerace() 173 pthread_create(&pt2[i], NULL, w2, NULL); in renamerace() 204 pthread_create(&pt1, NULL, w1_dirs, NULL); in renamerace_dirs() 205 pthread_create(&pt2, NULL, w2, NULL); in renamerace_dirs() 240 pthread_create(&pt_rmdir, NULL, w3_rmdir, NULL); in renamerace_cycle() 241 pthread_create(&pt_rename1, NULL, w3_rename1, NULL); in renamerace_cycle() 242 pthread_create(&pt_rename2, NULL, w3_rename2, NULL); in renamerace_cycle()
|
/netbsd-src/tests/libexec/ld.elf_so/ |
H A D | h_locking.c | 75 pthread_create(&t, NULL, test_dl_iterate_phdr_helper, NULL); in test_dl_iterate_phdr() 100 pthread_create(&t1, NULL, init_fini_helper, in test_dlopen() 107 pthread_create(&t2, NULL, init_fini_helper, in test_dlopen() 122 pthread_create(&t1, NULL, init_fini_helper, in test_dlclose() 128 pthread_create(&t2, NULL, init_fini_helper, in test_dlclose()
|
/netbsd-src/tests/rump/rumpkern/h_client/ |
H A D | h_reconcli.c | 105 pthread_create(&pt, NULL, closer, NULL); in main() 106 pthread_create(&w1, NULL, worker, NULL); in main() 107 pthread_create(&w2, NULL, worker, NULL); in main() 108 pthread_create(&w3, NULL, worker, NULL); in main() 109 pthread_create(&w4, NULL, worker, NULL); in main()
|
/netbsd-src/external/gpl3/binutils/dist/gprofng/libcollector/ |
H A D | libgprofng.ver | 33 pthread_create; 49 pthread_create; 82 pthread_create; 123 pthread_create; 140 pthread_create;
|
/netbsd-src/external/bsd/libbind/dist/ |
H A D | config.threads.in | 154 [printf("%x\n", pthread_create);], 161 AC_CHECK_LIB(pthread, pthread_create,, 163 AC_CHECK_LIB(c_r, pthread_create,, 164 AC_CHECK_LIB(c, pthread_create,, 169 AC_CHECK_LIB(pthread, pthread_create,, 172 AC_CHECK_LIB(c_r, pthread_create,, 173 AC_CHECK_LIB(c, pthread_create,,
|
/netbsd-src/tests/lib/libpthread/ |
H A D | t_cond.c | 90 PTHREAD_REQUIRE(pthread_create(&new, NULL, signal_delay_wait_threadfunc, in ATF_TC_BODY() 151 PTHREAD_REQUIRE(pthread_create(&new, NULL, in ATF_TC_BODY() 210 PTHREAD_REQUIRE(pthread_create(&new, NULL, in ATF_TC_BODY() 271 PTHREAD_REQUIRE(pthread_create(&new, NULL, signal_wait_race_threadfunc, in ATF_TC_BODY() 350 PTHREAD_REQUIRE(pthread_create(&tid[i], NULL, in ATF_TC_BODY() 402 PTHREAD_REQUIRE(pthread_create(&new, NULL, broadcast_threadfunc, in ATF_TC_BODY() 472 PTHREAD_REQUIRE(pthread_create(&new, NULL, bogus_timedwaits_threadfunc, in ATF_TC_BODY() 534 PTHREAD_REQUIRE(pthread_create(&thread, NULL, in ATF_TC_BODY()
|
H A D | t_mutex.c | 113 PTHREAD_REQUIRE(pthread_create(&new, NULL, mutex1_threadfunc, &x)); in ATF_TC_BODY() 167 PTHREAD_REQUIRE(pthread_create(&new, NULL, mutex2_threadfunc, &count2)); in ATF_TC_BODY() 222 PTHREAD_REQUIRE(pthread_create(&new, NULL, mutex3_threadfunc, &count2)); in ATF_TC_BODY() 283 PTHREAD_REQUIRE(pthread_create(&new, NULL, mutex4_threadfunc, &x)); in ATF_TC_BODY() 368 PTHREAD_REQUIRE(pthread_create(&child, NULL, child_func, NULL)); in ATF_TC_BODY() 515 PTHREAD_REQUIRE(pthread_create(&new, NULL, timedmtx_thrdfunc, NULL)); in ATF_TC_BODY() 543 PTHREAD_REQUIRE(pthread_create(&new, NULL, timedmtx_thrdfunc, NULL)); in ATF_TC_BODY()
|
/netbsd-src/tests/fs/ffs/ |
H A D | t_fifos.c | 131 pthread_create(&ptw1, NULL, w1, NULL); in ATF_TC_BODY() 132 pthread_create(&ptw2, NULL, w2, NULL); in ATF_TC_BODY() 133 pthread_create(&ptr1, NULL, r1, NULL); in ATF_TC_BODY() 134 pthread_create(&ptr2, NULL, r2, NULL); in ATF_TC_BODY()
|
/netbsd-src/external/bsd/ntp/dist/sntp/m4/ |
H A D | openldap-thread-check.m4 | 42 dnl pthread_create is in $LIBS (ie: don't bring in 134 dnl pthread_create() in $LIBS 137 dnl [skipped] pthread_create() with -mt (Solaris) [disabled] 138 dnl pthread_create() with -kthread (FreeBSD) 139 dnl pthread_create() with -pthread (FreeBSD/Digital Unix) 140 dnl pthread_create() with -pthreads (?) 141 dnl pthread_create() with -mthreads (AIX) 142 dnl pthread_create() with -thread (?) 149 dnl pthread_create() in -lpthread (many) 150 dnl pthread_create() in -lc_r (FreeBSD) [all …]
|
/netbsd-src/tests/usr.bin/cc/ |
H A D | t_tsan_thread_leak.sh | 75 pthread_create(&t, NULL, Thread, NULL); 103 pthread_create(&t, NULL, Thread, NULL); 137 pthread_create(&t, NULL, Thread, NULL); 171 pthread_create(&t, NULL, Thread, NULL);
|
H A D | t_tsan_data_race.sh | 68 pthread_create(&t, NULL, Thread, NULL); 90 pthread_create(&t, NULL, Thread, NULL); 118 pthread_create(&t, NULL, Thread, NULL); 146 pthread_create(&t, NULL, Thread, NULL);
|
H A D | t_tsan_heap_use_after_free.sh | 77 pthread_create(&t, NULL, Thread, NULL); 108 pthread_create(&t, NULL, Thread, NULL); 145 pthread_create(&t, NULL, Thread, NULL); 182 pthread_create(&t, NULL, Thread, NULL);
|
H A D | t_tsan_locked_mutex_destroy.sh | 77 pthread_create(&t, NULL, Thread, NULL); 108 pthread_create(&t, NULL, Thread, NULL); 145 pthread_create(&t, NULL, Thread, NULL); 182 pthread_create(&t, NULL, Thread, NULL);
|
H A D | t_tsan_signal_errno.sh | 76 pthread_create(&th, 0, sendsignal, 0); 104 pthread_create(&th, 0, sendsignal, 0); 138 pthread_create(&th, 0, sendsignal, 0); 172 pthread_create(&th, 0, sendsignal, 0);
|
/netbsd-src/tests/usr.bin/c++/ |
H A D | t_tsan_data_race.sh | 68 pthread_create(&t, NULL, Thread, NULL); 90 pthread_create(&t, NULL, Thread, NULL); 118 pthread_create(&t, NULL, Thread, NULL); 146 pthread_create(&t, NULL, Thread, NULL);
|
H A D | t_tsan_thread_leak.sh | 75 pthread_create(&t, NULL, Thread, NULL); 103 pthread_create(&t, NULL, Thread, NULL); 137 pthread_create(&t, NULL, Thread, NULL); 171 pthread_create(&t, NULL, Thread, NULL);
|
H A D | t_tsan_locked_mutex_destroy.sh | 78 pthread_create(&t, NULL, Thread, NULL); 109 pthread_create(&t, NULL, Thread, NULL); 146 pthread_create(&t, NULL, Thread, NULL); 183 pthread_create(&t, NULL, Thread, NULL);
|
H A D | t_tsan_heap_use_after_free.sh | 94 pthread_create(&t, NULL, Thread, NULL); 125 pthread_create(&t, NULL, Thread, NULL); 162 pthread_create(&t, NULL, Thread, NULL); 199 pthread_create(&t, NULL, Thread, NULL);
|
H A D | t_tsan_signal_errno.sh | 76 pthread_create(&th, 0, sendsignal, 0); 104 pthread_create(&th, 0, sendsignal, 0); 138 pthread_create(&th, 0, sendsignal, 0); 172 pthread_create(&th, 0, sendsignal, 0);
|
H A D | t_tsan_vptr_race.sh | 81 pthread_create(&t, NULL, Thread1, NULL); 115 pthread_create(&t, NULL, Thread1, NULL); 154 pthread_create(&t, NULL, Thread1, NULL); 194 pthread_create(&t, NULL, Thread1, NULL);
|
/netbsd-src/tests/lib/librumpclient/ |
H A D | h_execthr.c | 127 errno = pthread_create(&pt, NULL, in main() 176 errno = pthread_create(&pt, NULL, in main() 183 errno = pthread_create(&pt, NULL, in main() 207 errno = pthread_create(&pt, NULL, in main()
|
/netbsd-src/tests/lib/libc/stdlib/ |
H A D | t_getenv_thread.c | 158 ATF_CHECK(pthread_create(&threads[i++], NULL, thread_getenv_r, in ATF_TC_BODY() 183 ATF_CHECK(pthread_create(&threads[i++], NULL, thread_putenv, in ATF_TC_BODY() 208 ATF_CHECK(pthread_create(&threads[i++], NULL, thread_setenv, in ATF_TC_BODY() 233 ATF_CHECK(pthread_create(&threads[i++], NULL, thread_unsetenv, in ATF_TC_BODY()
|
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/hwasan/ |
H A D | hwasan_interceptors.cpp | 40 INTERCEPTOR(int, pthread_create, void *th, void *attr, void *(*callback)(void*), in INTERCEPTOR() argument 46 int res = REAL(pthread_create)(th, attr, &HwasanThreadStartFunc, A); in INTERCEPTOR() 191 INTERCEPT_FUNCTION(pthread_create); in InitializeInterceptors()
|
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/tsan/tests/unit/ |
H A D | tsan_mutex_test.cc | 101 pthread_create(&threads[i], 0, write_mutex_thread<Mutex>, &data); in TEST() 111 pthread_create(&threads[i], 0, read_mutex_thread<Mutex>, &data); in TEST() 121 pthread_create(&threads[i], 0, write_mutex_thread<SpinMutex>, &data); in TEST()
|
/netbsd-src/external/gpl3/gdb/dist/sim/testsuite/cris/c/ |
H A D | thread3.c | 32 retcode = pthread_create (&th_a, NULL, process, (void *) "a"); in main() 35 retcode = pthread_create (&th_b, NULL, process, (void *) "b"); in main()
|