/netbsd/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/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/external/mpl/bind/dist/ |
H A D | config.threads.in | 102 [printf("%x\n", pthread_create);], 109 AC_CHECK_LIB(pthread, pthread_create,, 111 AC_CHECK_LIB(c_r, pthread_create,, 112 AC_CHECK_LIB(c, pthread_create,, 117 AC_CHECK_LIB(pthread, pthread_create,, 120 AC_CHECK_LIB(c_r, pthread_create,, 121 AC_CHECK_LIB(c, pthread_create,,
|
/netbsd/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/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/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/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/external/bsd/ntp/dist/sntp/m4/ |
H A D | openldap-thread-check.m4 | 134 dnl pthread_create() in $LIBS 138 dnl pthread_create() with -kthread (FreeBSD) 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) 153 dnl pthread_create() with -threads (OSF/1) 159 dnl pthread_create() in -lpthreads (many) 162 dnl pthread_create in $LIBS [all …]
|
/netbsd/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/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/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/external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/ |
H A D | fork-thread-pending.c | 79 i = pthread_create (&thread, NULL, start, NULL); in thread_forker() 107 pthread_create (&threads[j], NULL, thread_function, &args[j]); in main() 111 pthread_create (&threads[j], NULL, thread_forker, &args[j]); in main()
|
H A D | watchpoint-fork-mt.c | 127 i = pthread_create (&thread, NULL, start, NULL); in main() 147 i = pthread_create (&thread, NULL, start, NULL); in main() 164 i = pthread_create (&thread, NULL, start, NULL); in main()
|
/netbsd/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/ |
H A D | fork-thread-pending.c | 79 i = pthread_create (&thread, NULL, start, NULL); in thread_forker() 107 pthread_create (&threads[j], NULL, thread_function, &args[j]); in main() 111 pthread_create (&threads[j], NULL, thread_forker, &args[j]); in main()
|
H A D | watchpoint-fork-mt.c | 127 i = pthread_create (&thread, NULL, start, NULL); in main() 147 i = pthread_create (&thread, NULL, start, NULL); in main() 164 i = pthread_create (&thread, NULL, start, NULL); in main()
|