/freebsd/tools/test/stress2/misc/ |
H A D | mmap46.sh | 151 if ((e = pthread_create(&tp[0], NULL, memwrite, NULL)) != 0) 153 if ((e = pthread_create(&tp[1], NULL, memwrite, NULL)) != 0) 155 if ((e = pthread_create(&tp[2], NULL, memread, NULL)) != 0) 157 if ((e = pthread_create(&tp[3], NULL, memread, NULL)) != 0) 159 if ((e = pthread_create(&tp[4], NULL, wr, NULL)) != 0) 161 if ((e = pthread_create(&tp[5], NULL, wr, NULL)) != 0) 163 if ((e = pthread_create(&tp[6], NULL, wr, NULL)) != 0) 165 if ((e = pthread_create(&tp[7], NULL, wr, NULL)) != 0) 167 if ((e = pthread_create(&tp[8], NULL, wr, NULL)) != 0) 169 if ((e = pthread_create(&tp[9], NULL, wr, NULL)) != 0) [all …]
|
H A D | mmap45.sh | 156 if ((e = pthread_create(&tp[0], NULL, memwrite, NULL)) != 0) 158 if ((e = pthread_create(&tp[1], NULL, memwrite, NULL)) != 0) 160 if ((e = pthread_create(&tp[2], NULL, memread, NULL)) != 0) 162 if ((e = pthread_create(&tp[3], NULL, memread, NULL)) != 0) 164 if ((e = pthread_create(&tp[4], NULL, wr, NULL)) != 0) 166 if ((e = pthread_create(&tp[5], NULL, wr, NULL)) != 0) 168 if ((e = pthread_create(&tp[6], NULL, wr, NULL)) != 0) 170 if ((e = pthread_create(&tp[7], NULL, wr, NULL)) != 0) 172 if ((e = pthread_create(&tp[8], NULL, s1, NULL)) != 0) 174 if ((e = pthread_create(&tp[9], NULL, s2, NULL)) != 0)
|
H A D | mmap44.sh | 188 if ((e = pthread_create(&tp[0], NULL, memwrite, NULL)) != 0) 190 if ((e = pthread_create(&tp[1], NULL, memread, NULL)) != 0) 192 if ((e = pthread_create(&tp[2], NULL, wr, NULL)) != 0) 194 if ((e = pthread_create(&tp[3], NULL, s1, NULL)) != 0) 196 if ((e = pthread_create(&tp[4], NULL, s2, NULL)) != 0) 198 if ((e = pthread_create(&tp[5], NULL, tr, NULL)) != 0)
|
H A D | mmap11.sh | 257 if ((rc = pthread_create(&tid[0], NULL, tmmap, NULL)) != 0) 259 if ((rc = pthread_create(&tid[1], NULL, tmlock, NULL)) != 0) 261 if ((rc = pthread_create(&tid[2], NULL, tmprotect, NULL)) != 0) 263 if ((rc = pthread_create(&tid[3], NULL, tmlockall, NULL)) != 0) 265 if ((rc = pthread_create(&tid[4], NULL, tmsync, NULL)) != 0)
|
H A D | mmap48.sh | 208 if ((e = pthread_create(&tp[idx++], NULL, memread, NULL)) != 0) 212 if ((e = pthread_create(&tp[idx++], NULL, memwrite, NULL)) != 0) 216 if ((e = pthread_create(&tp[idx++], NULL, wr, NULL)) != 0) 220 if ((e = pthread_create(&tp[idx++], NULL, fs, NULL)) != 0) 224 if ((e = pthread_create(&tp[idx++], NULL, tr, NULL)) != 0) 228 if ((e = pthread_create(&tp[idx++], NULL, sy, NULL)) != 0)
|
H A D | mmap10.sh | 236 if ((rc = pthread_create(&tid[0], NULL, tmmap, NULL)) != 0) 238 if ((rc = pthread_create(&tid[1], NULL, tmlock, NULL)) != 0) 240 if ((rc = pthread_create(&tid[2], NULL, tmprotect, NULL)) != 0) 242 if ((rc = pthread_create(&tid[3], NULL, tmlockall, NULL)) != 0)
|
H A D | pthread9.sh | 150 if ((rc = pthread_create(&tid[0], NULL, t1, NULL)) != 0) 152 if ((rc = pthread_create(&tid[1], NULL, t2, NULL)) != 0) 154 if ((rc = pthread_create(&tid[2], NULL, t3, NULL)) != 0)
|
H A D | poll2.sh | 179 if ((rc = pthread_create(&tid[0], NULL, rd, NULL)) != 0) 181 if ((rc = pthread_create(&tid[1], NULL, wr, NULL)) != 0) 183 if ((rc = pthread_create(&tid[2], NULL, pl, NULL)) != 0)
|
/freebsd/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/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/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/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()
|
/freebsd/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/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()
|
/freebsd/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/contrib/ntp/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 …]
|
/freebsd/tests/sys/cddl/zfs/bin/ |
H A D | rm_lnkcnt_zero_file.c | 128 (void) pthread_create(&tid, NULL, mover, NULL); in main() 129 (void) pthread_create(&tid, NULL, cleaner, NULL); in main() 130 (void) pthread_create(&tid, NULL, writer, (void *) &fd); in main()
|
/freebsd/tests/sys/fs/fusefs/ |
H A D | notify.cc | 168 ASSERT_EQ(0, pthread_create(&th0, NULL, inval_entry, &iea)) in TEST_F() 200 ASSERT_EQ(0, pthread_create(&th0, NULL, inval_entry, &iea)) in TEST_F() 250 ASSERT_EQ(0, pthread_create(&th0, NULL, inval_entry, &iea)) in TEST_F() 295 ASSERT_EQ(0, pthread_create(&th0, NULL, inval_entry, &iea)) in TEST_F() 316 ASSERT_EQ(0, pthread_create(&th0, NULL, inval_inode, &iia)) in TEST_F() 370 ASSERT_EQ(0, pthread_create(&th0, NULL, inval_inode, &iia)) in TEST_F() 401 ASSERT_EQ(0, pthread_create(&th0, NULL, store, &sa)) << strerror(errno); in TEST_F() 436 ASSERT_EQ(0, pthread_create(&th0, NULL, store, &sa)) << strerror(errno); in TEST_F() 480 ASSERT_EQ(0, pthread_create(&th0, NULL, inval_inode, &iia)) in TEST_F() 535 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() 478 ASSERT_EQ(0, pthread_create(&th0, NULL, allocate_th, in TEST_P() 482 ASSERT_EQ(0, pthread_create(&th0, NULL, copy_file_range_th, in TEST_P() 486 ASSERT_EQ(0, pthread_create(&th0, NULL, setattr_th, in TEST_P() 490 ASSERT_EQ(0, pthread_create(&th0, NULL, write_th, (void*)&sem)) in TEST_P()
|
/freebsd/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/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
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/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/tools/regression/tls/ttls4/ |
H A D | ttls4.c | 33 pthread_create(&td, NULL, f1, NULL); in main() 38 pthread_create(&td, NULL, f1, NULL); in main()
|
/freebsd/tools/regression/tls/ttls2/ |
H A D | ttls2.c | 35 pthread_create(&t1, 0, foo1, 0); in main() 36 pthread_create(&t2, 0, foo2, 0); in main()
|