| /freebsd-12.1/contrib/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()
|
| /freebsd-12.1/contrib/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()
|
| /freebsd-12.1/contrib/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() 524 PTHREAD_REQUIRE(pthread_create(&thread, NULL, destroy_busy_threadfunc, in ATF_TC_BODY() 579 PTHREAD_REQUIRE(pthread_create(&thread, NULL, in ATF_TC_BODY() 622 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() 183 PTHREAD_REQUIRE(pthread_create(&new, NULL, mutex2_threadfunc, &count2)); in ATF_TC_BODY() 264 PTHREAD_REQUIRE(pthread_create(&new, NULL, mutex3_threadfunc, &count2)); in ATF_TC_BODY() 335 PTHREAD_REQUIRE(pthread_create(&new, NULL, mutex4_threadfunc, &x)); in ATF_TC_BODY() 421 PTHREAD_REQUIRE(pthread_create(&child, NULL, child_func, NULL)); in ATF_TC_BODY() 545 PTHREAD_REQUIRE(pthread_create(&high, NULL, high_prio, NULL)); in ATF_TC_BODY() 546 PTHREAD_REQUIRE(pthread_create(&low, NULL, low_prio, NULL)); in ATF_TC_BODY() 700 PTHREAD_REQUIRE(pthread_create(&new, NULL, timedmtx_thrdfunc, NULL)); in ATF_TC_BODY() 728 PTHREAD_REQUIRE(pthread_create(&new, NULL, timedmtx_thrdfunc, NULL)); in ATF_TC_BODY()
|
| H A D | t_equal.c | 58 ATF_REQUIRE(pthread_create(&t1, NULL, func, NULL) == 0); in ATF_TC_BODY() 59 ATF_REQUIRE(pthread_create(&t2, NULL, func, NULL) == 0); in ATF_TC_BODY()
|
| H A D | t_fpu.c | 121 PTHREAD_REQUIRE(pthread_create(&s2, 0, bar, 0)); in recurse() 141 PTHREAD_REQUIRE(pthread_create(&s5, 0, stir, stirseed)); in ATF_TC_BODY()
|
| H A D | t_join.c | 65 PTHREAD_REQUIRE(pthread_create(&thread, NULL, threadfunc1, NULL)); in ATF_TC_BODY() 108 rv = pthread_create(&thread[i], &attr, threadfunc2, (void *)i); in threadfunc1()
|
| /freebsd-12.1/contrib/netbsd-tests/fs/vfs/ |
| H A D | t_renamerace.c | 112 pthread_create(&pt1[i], NULL, w1, NULL); in renamerace() 115 pthread_create(&pt2[i], NULL, w2, NULL); in renamerace() 162 pthread_create(&pt1, NULL, w1_dirs, NULL); in renamerace_dirs() 163 pthread_create(&pt2, NULL, w2, NULL); in renamerace_dirs()
|
| H A D | t_rmdirrace.c | 83 res = pthread_create(&th1, NULL, func1, &quit); in race() 86 res = pthread_create(&th2, NULL, func2, &quit); in race()
|
| /freebsd-12.1/contrib/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()
|
| /freebsd-12.1/contrib/gcclibs/libmudflap/ |
| H A D | mf-hooks3.c | 74 DECLARE(int, pthread_create, pthread_t *thr, const pthread_attr_t *attr, 273 #undef pthread_create 274 WRAPPER(int, pthread_create, pthread_t *thr, const pthread_attr_t *attr, in WRAPPER() argument 287 return CALL_REAL (pthread_create, thr, attr, __mf_pthread_spawner, si); in WRAPPER()
|
| /freebsd-12.1/contrib/ntp/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 …]
|
| /freebsd-12.1/contrib/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()
|
| /freebsd-12.1/tests/sys/fs/fusefs/ |
| H A D | notify.cc | 171 ASSERT_EQ(0, pthread_create(&th0, NULL, inval_entry, &iea)) in TEST_F() 203 ASSERT_EQ(0, pthread_create(&th0, NULL, inval_entry, &iea)) in TEST_F() 253 ASSERT_EQ(0, pthread_create(&th0, NULL, inval_entry, &iea)) in TEST_F() 298 ASSERT_EQ(0, pthread_create(&th0, NULL, inval_entry, &iea)) in TEST_F() 319 ASSERT_EQ(0, pthread_create(&th0, NULL, inval_inode, &iia)) in TEST_F() 373 ASSERT_EQ(0, pthread_create(&th0, NULL, inval_inode, &iia)) in TEST_F() 404 ASSERT_EQ(0, pthread_create(&th0, NULL, store, &sa)) << strerror(errno); in TEST_F() 439 ASSERT_EQ(0, pthread_create(&th0, NULL, store, &sa)) << strerror(errno); in TEST_F() 483 ASSERT_EQ(0, pthread_create(&th0, NULL, inval_inode, &iia)) in TEST_F() 538 ASSERT_EQ(0, pthread_create(&th0, NULL, inval_inode, &iia)) in TEST_F()
|
| /freebsd-12.1/tests/sys/cddl/zfs/bin/ |
| H A D | rm_lnkcnt_zero_file.c | 130 (void) pthread_create(&tid, NULL, mover, NULL); in main() 131 (void) pthread_create(&tid, NULL, cleaner, NULL); in main() 132 (void) pthread_create(&tid, NULL, writer, (void *) &fd); in main()
|
| /freebsd-12.1/contrib/netbsd-tests/lib/libpthread_dbg/ |
| H A D | t_threads.c | 90 (pthread_create(&threads[i], NULL, busyFunction1, NULL)); in ATF_TC_BODY() 153 (pthread_create(&threads[i], NULL, busyFunction2, NULL)); in ATF_TC_BODY() 223 (pthread_create(&threads[i], NULL, busyFunction3, NULL)); in ATF_TC_BODY() 295 (pthread_create(&threads[i], NULL, busyFunction4, NULL)); in ATF_TC_BODY() 376 (pthread_create(&threads[i], NULL, busyFunction5, NULL)); in ATF_TC_BODY() 449 (pthread_create(&threads[i], NULL, busyFunction6, NULL)); in ATF_TC_BODY() 523 (pthread_create(&threads[i], NULL, busyFunction7, NULL)); in ATF_TC_BODY() 597 (pthread_create(&threads[i], NULL, busyFunction8, NULL)); in ATF_TC_BODY() 678 (pthread_create(&threads[i], NULL, busyFunction9, NULL)); in ATF_TC_BODY()
|
| /freebsd-12.1/contrib/netbsd-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()
|
| /freebsd-12.1/tools/regression/tls/ttls4/ |
| H A D | ttls4.c | 35 pthread_create(&td, NULL, f1, NULL); in main() 40 pthread_create(&td, NULL, f1, NULL); in main()
|
| /freebsd-12.1/tools/regression/tls/ttls2/ |
| H A D | ttls2.c | 36 pthread_create(&t1, 0, foo1, 0); in main() 37 pthread_create(&t2, 0, foo2, 0); in main()
|
| /freebsd-12.1/contrib/netbsd-tests/lib/libc/tls/ |
| H A D | t_tls_static.c | 83 pthread_create(&t, 0, testf, 0); in ATF_TC_BODY() 86 pthread_create(&t, 0, testf, 0); in ATF_TC_BODY()
|
| H A D | t_tls_dynamic.c | 95 pthread_create(&t, 0, testf, 0); in ATF_TC_BODY() 98 pthread_create(&t, 0, testf, 0); in ATF_TC_BODY()
|
| H A D | t_tls_dlopen.c | 101 pthread_create(&t, 0, testf, 0); in ATF_TC_BODY() 104 pthread_create(&t, 0, testf, 0); in ATF_TC_BODY()
|
| /freebsd-12.1/contrib/netbsd-tests/fs/tmpfs/ |
| H A D | t_renamerace.c | 99 pthread_create(&pt[0], NULL, r2w1, NULL); in ATF_TC_BODY() 100 pthread_create(&pt[1], NULL, r2w2, NULL); in ATF_TC_BODY()
|
| /freebsd-12.1/contrib/compiler-rt/lib/safestack/ |
| H A D | safestack.cc | 218 INTERCEPTOR(int, pthread_create, pthread_t *thread, in INTERCEPTOR() argument 250 return REAL(pthread_create)(thread, attr, thread_start, tinfo); in INTERCEPTOR() 261 INTERCEPT_FUNCTION(pthread_create); in EnsureInterceptorsInitialized()
|
| /freebsd-12.1/contrib/netbsd-tests/fs/nfs/nfsservice/ |
| H A D | rumpnfsd.c | 146 if (pthread_create(&t, NULL, rpcbind_main, NULL) == -1) in main() 150 if (pthread_create(&t, NULL, mountd_main, NULL) == -1) in main()
|