Searched refs:pthread_create (Results 1 - 25 of 204) sorted by relevance

123456789

/freebsd-13-stable/contrib/llvm-project/libunwind/src/
H A DRWMutex.hpp78 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 Dttls2.c36 pthread_create(&t1, 0, foo1, 0);
37 pthread_create(&t2, 0, foo2, 0);
/freebsd-13-stable/tools/regression/tls/ttls4/
H A Dttls4.c35 pthread_create(&td, NULL, f1, NULL);
40 pthread_create(&td, NULL, f1, NULL);
/freebsd-13-stable/tools/regression/pthread/unwind/
H A Dcatch_pthread_exit.cpp28 pthread_create(&td, NULL, thr_routine, NULL);
H A Dthread_normal_exit.cpp24 pthread_create(&td, NULL, thr_routine, NULL);
H A Dsem_wait_cancel.cpp29 pthread_create(&td, NULL, thr, NULL);
H A Dcond_wait_cancel.cpp33 pthread_create(&td, NULL, thr, NULL);
H A Dcond_wait_cancel2.cpp50 pthread_create(&td, NULL, thr, NULL);
/freebsd-13-stable/contrib/netbsd-tests/libexec/ld.elf_so/
H A Dh_locking.c75 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 Dt_tls_static.c83 pthread_create(&t, 0, testf, 0);
86 pthread_create(&t, 0, testf, 0);
H A Dt_tls_dlopen.c101 pthread_create(&t, 0, testf, 0);
104 pthread_create(&t, 0, testf, 0);
H A Dt_tls_dynamic.c95 pthread_create(&t, 0, testf, 0);
98 pthread_create(&t, 0, testf, 0);
/freebsd-13-stable/contrib/netbsd-tests/lib/libpthread/
H A Dt_equal.c58 ATF_REQUIRE(pthread_create(&t1, NULL, func, NULL) == 0);
59 ATF_REQUIRE(pthread_create(&t2, NULL, func, NULL) == 0);
H A Dt_fpu.c47 * 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 Dh_reconcli.c105 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 Drm_lnkcnt_zero_file.c141 (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 Drm_lnkcnt_zero_file.c130 (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 Ddynthr_mod.c64 rc = pthread_create(&thr, NULL, mod_thread, NULL);
/freebsd-13-stable/contrib/libevent/test/
H A Dregress_thread.h35 pthread_create(&(threadvar), NULL, fn, arg)
/freebsd-13-stable/contrib/ntp/sntp/libevent/test/
H A Dregress_thread.h35 pthread_create(&(threadvar), NULL, fn, arg)
/freebsd-13-stable/contrib/netbsd-tests/fs/ffs/
H A Dt_fifos.c131 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 Dt_renamerace.c112 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 Dt_rmdirrace.c83 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 Dmutex_isowned_np.c66 pthread_create(&thr, NULL, thread, &mtx);
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/tsan/benchmarks/
H A Dstart_many_threads.cpp40 int status = pthread_create(&t[i], 0, Thread, (void*)i);

Completed in 454 milliseconds

123456789