| /freebsd-13.1/contrib/llvm-project/libunwind/src/ |
| H A D | RWMutex.hpp | 78 pthread_create(pthread_t *thread, const pthread_attr_t *attr, 94 return !pthread_create || (pthread_rwlock_rdlock(&_lock) == 0); 97 return !pthread_create || (pthread_rwlock_unlock(&_lock) == 0); 100 return !pthread_create || (pthread_rwlock_wrlock(&_lock) == 0); 103 return !pthread_create || (pthread_rwlock_unlock(&_lock) == 0);
|
| /freebsd-13.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-13.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-13.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-13.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-13.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 | 116 PTHREAD_REQUIRE(pthread_create(&new, NULL, mutex1_threadfunc, &x)); in ATF_TC_BODY() 220 PTHREAD_REQUIRE(pthread_create(&new, NULL, mutex2_threadfunc, &count2)); in ATF_TC_BODY() 334 PTHREAD_REQUIRE(pthread_create(&new, NULL, mutex3_threadfunc, &count2)); in ATF_TC_BODY() 420 PTHREAD_REQUIRE(pthread_create(&new, NULL, mutex4_threadfunc, &x)); in ATF_TC_BODY() 506 PTHREAD_REQUIRE(pthread_create(&child, NULL, child_func, NULL)); in ATF_TC_BODY() 630 PTHREAD_REQUIRE(pthread_create(&high, NULL, high_prio, NULL)); in ATF_TC_BODY() 631 PTHREAD_REQUIRE(pthread_create(&low, NULL, low_prio, NULL)); in ATF_TC_BODY() 785 PTHREAD_REQUIRE(pthread_create(&new, NULL, timedmtx_thrdfunc, NULL)); in ATF_TC_BODY() 813 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()
|
| /freebsd-13.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-13.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-13.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-13.1/sys/contrib/openzfs/tests/zfs-tests/cmd/rm_lnkcnt_zero_file/ |
| H A D | rm_lnkcnt_zero_file.c | 141 (void) pthread_create(&tid, NULL, mover, NULL); in main() 142 (void) pthread_create(&tid, NULL, cleaner, NULL); in main() 143 (void) pthread_create(&tid, NULL, writer, (void *) &fd); in main()
|
| /freebsd-13.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()
|
| H A D | last_local_modify.cc | 314 ASSERT_EQ(0, pthread_create(&th0, NULL, allocate_th, in TEST_P() 318 ASSERT_EQ(0, pthread_create(&th0, NULL, copy_file_range_th, in TEST_P() 322 ASSERT_EQ(0, pthread_create(&th0, NULL, setattr_th, NULL)) in TEST_P() 326 ASSERT_EQ(0, pthread_create(&th0, NULL, write_th, NULL)) in TEST_P() 479 ASSERT_EQ(0, pthread_create(&th0, NULL, allocate_th, in TEST_P() 483 ASSERT_EQ(0, pthread_create(&th0, NULL, copy_file_range_th, in TEST_P() 487 ASSERT_EQ(0, pthread_create(&th0, NULL, setattr_th, in TEST_P() 491 ASSERT_EQ(0, pthread_create(&th0, NULL, write_th, (void*)&sem)) in TEST_P()
|
| /freebsd-13.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-13.1/contrib/llvm-project/compiler-rt/lib/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() 165 INTERCEPT_FUNCTION(pthread_create); in InitializeInterceptors()
|
| /freebsd-13.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-13.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-13.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-13.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-13.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()
|