/freebsd-13-stable/contrib/llvm-project/libunwind/src/ |
H A D | RWMutex.hpp | 78 pthread_create(pthread_t *thread, const pthread_attr_t *attr, 87 // Calls to the locking functions are gated on pthread_create, and not the 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-stable/tools/regression/tls/ttls2/ |
H A D | ttls2.c | 36 pthread_create(&t1, 0, foo1, 0); 37 pthread_create(&t2, 0, foo2, 0);
|
/freebsd-13-stable/tools/regression/tls/ttls4/ |
H A D | ttls4.c | 35 pthread_create(&td, NULL, f1, NULL); 40 pthread_create(&td, NULL, f1, NULL);
|
/freebsd-13-stable/tools/regression/pthread/unwind/ |
H A D | catch_pthread_exit.cpp | 28 pthread_create(&td, NULL, thr_routine, NULL);
|
H A D | thread_normal_exit.cpp | 24 pthread_create(&td, NULL, thr_routine, NULL);
|
H A D | sem_wait_cancel.cpp | 29 pthread_create(&td, NULL, thr, NULL);
|
H A D | cond_wait_cancel.cpp | 33 pthread_create(&td, NULL, thr, NULL);
|
H A D | cond_wait_cancel2.cpp | 50 pthread_create(&td, NULL, thr, NULL);
|
/freebsd-13-stable/contrib/netbsd-tests/libexec/ld.elf_so/ |
H A D | h_locking.c | 75 pthread_create(&t, NULL, test_dl_iterate_phdr_helper, NULL); 100 pthread_create(&t1, NULL, init_fini_helper, 107 pthread_create(&t2, NULL, init_fini_helper, 122 pthread_create(&t1, NULL, init_fini_helper, 128 pthread_create(&t2, NULL, init_fini_helper,
|
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/tls/ |
H A D | t_tls_static.c | 83 pthread_create(&t, 0, testf, 0); 86 pthread_create(&t, 0, testf, 0);
|
H A D | t_tls_dlopen.c | 101 pthread_create(&t, 0, testf, 0); 104 pthread_create(&t, 0, testf, 0);
|
H A D | t_tls_dynamic.c | 95 pthread_create(&t, 0, testf, 0); 98 pthread_create(&t, 0, testf, 0);
|
/freebsd-13-stable/contrib/netbsd-tests/lib/libpthread/ |
H A D | t_equal.c | 58 ATF_REQUIRE(pthread_create(&t1, NULL, func, NULL) == 0); 59 ATF_REQUIRE(pthread_create(&t2, NULL, func, NULL) == 0);
|
H A D | t_fpu.c | 47 * It was changed to use pthread_create() and sched_yield() instead of 121 PTHREAD_REQUIRE(pthread_create(&s2, 0, bar, 0)); 141 PTHREAD_REQUIRE(pthread_create(&s5, 0, stir, stirseed));
|
/freebsd-13-stable/contrib/netbsd-tests/rump/rumpkern/h_client/ |
H A D | h_reconcli.c | 105 pthread_create(&pt, NULL, closer, NULL); 106 pthread_create(&w1, NULL, worker, NULL); 107 pthread_create(&w2, NULL, worker, NULL); 108 pthread_create(&w3, NULL, worker, NULL); 109 pthread_create(&w4, NULL, worker, NULL);
|
/freebsd-13-stable/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); 142 (void) pthread_create(&tid, NULL, cleaner, NULL); 143 (void) pthread_create(&tid, NULL, writer, (void *) &fd);
|
/freebsd-13-stable/tests/sys/cddl/zfs/bin/ |
H A D | rm_lnkcnt_zero_file.c | 130 (void) pthread_create(&tid, NULL, mover, NULL); 131 (void) pthread_create(&tid, NULL, cleaner, NULL); 132 (void) pthread_create(&tid, NULL, writer, (void *) &fd);
|
/freebsd-13-stable/lib/libc/tests/stdlib/dynthr_mod/ |
H A D | dynthr_mod.c | 64 rc = pthread_create(&thr, NULL, mod_thread, NULL);
|
/freebsd-13-stable/contrib/libevent/test/ |
H A D | regress_thread.h | 35 pthread_create(&(threadvar), NULL, fn, arg)
|
/freebsd-13-stable/contrib/ntp/sntp/libevent/test/ |
H A D | regress_thread.h | 35 pthread_create(&(threadvar), NULL, fn, arg)
|
/freebsd-13-stable/contrib/netbsd-tests/fs/ffs/ |
H A D | t_fifos.c | 131 pthread_create(&ptw1, NULL, w1, NULL); 132 pthread_create(&ptw2, NULL, w2, NULL); 133 pthread_create(&ptr1, NULL, r1, NULL); 134 pthread_create(&ptr2, NULL, r2, NULL);
|
/freebsd-13-stable/contrib/netbsd-tests/fs/vfs/ |
H A D | t_renamerace.c | 112 pthread_create(&pt1[i], NULL, w1, NULL); 115 pthread_create(&pt2[i], NULL, w2, NULL); 162 pthread_create(&pt1, NULL, w1_dirs, NULL); 163 pthread_create(&pt2, NULL, w2, NULL);
|
H A D | t_rmdirrace.c | 83 res = pthread_create(&th1, NULL, func1, &quit); 86 res = pthread_create(&th2, NULL, func2, &quit);
|
/freebsd-13-stable/tools/regression/pthread/mutex_isowned_np/ |
H A D | mutex_isowned_np.c | 66 pthread_create(&thr, NULL, thread, &mtx);
|
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/tsan/benchmarks/ |
H A D | start_many_threads.cpp | 40 int status = pthread_create(&t[i], 0, Thread, (void*)i);
|