Defined in 1 files as a prototype:
Defined in 3 files as a macro:
Defined in 3 files as a function:
Referenced in 153 files:
- cddl/compat/opensolaris/misc/thread_pool.c, line 219
- cddl/contrib/opensolaris/head/thread.h, line 97
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_proc.c, line 898
- cddl/contrib/opensolaris/lib/libzfs/common/libzfs_diff.c, line 784
- cddl/contrib/opensolaris/lib/libzfs/common/libzfs_sendrecv.c, 3 times
- cddl/contrib/opensolaris/tools/ctf/cvt/ctfmerge.c, line 706
- contrib/apr/threadproc/unix/thread.c, line 179
- contrib/compiler-rt/lib/asan/asan_interceptors.cc, 4 times
- contrib/compiler-rt/lib/dfsan/dfsan_custom.cc, line 380
- contrib/compiler-rt/lib/hwasan/hwasan_interceptors.cc, 3 times
- contrib/compiler-rt/lib/lsan/lsan_interceptors.cc, 3 times
- contrib/compiler-rt/lib/msan/msan_interceptors.cc, 4 times
- contrib/compiler-rt/lib/safestack/safestack.cc, 3 times
- contrib/compiler-rt/lib/sanitizer_common/sanitizer_mac.cc, line 521
- contrib/compiler-rt/lib/sanitizer_common/sanitizer_posix.h, line 74
- contrib/compiler-rt/lib/tsan/benchmarks/mini_bench_local.cc, line 41
- contrib/compiler-rt/lib/tsan/benchmarks/mini_bench_shared.cc, line 43
- contrib/compiler-rt/lib/tsan/benchmarks/start_many_threads.cc, line 40
- contrib/compiler-rt/lib/tsan/benchmarks/vts_many_threads_bench.cc, 2 times
- contrib/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc, 4 times
- contrib/gcc/gthr-dce.h, 3 times
- contrib/gcc/gthr-posix.h, 3 times
- contrib/gcc/gthr-posix95.h, 2 times
- contrib/gcc/gthr-tpf.h, line 86
- contrib/gcclibs/libgomp/team.c, line 301
- contrib/gcclibs/libmudflap/mf-hooks3.c, 4 times
- contrib/libevent/test/regress.c, line 1008
- contrib/libevent/test/regress_thread.h, line 35
- contrib/llvm/tools/lldb/source/Host/common/ThreadLauncher.cpp, line 71
- contrib/llvm/tools/lldb/source/Plugins/Process/Darwin/NativeProcessDarwin.cpp, 2 times
- contrib/netbsd-tests/dev/md/h_mdserv.c, line 99
- contrib/netbsd-tests/fs/common/fstest_lfs.c, line 168
- contrib/netbsd-tests/fs/common/fstest_puffs.c, 2 times
- contrib/netbsd-tests/fs/common/snapshot.c, line 195
- contrib/netbsd-tests/fs/ffs/t_fifos.c, 4 times
- contrib/netbsd-tests/fs/nfs/nfsservice/rumpnfsd.c, 2 times
- contrib/netbsd-tests/fs/nfs/t_mountd.c, line 98
- contrib/netbsd-tests/fs/puffs/t_basic.c, line 172
- contrib/netbsd-tests/fs/puffs/t_fuzz.c, line 226
- contrib/netbsd-tests/fs/tmpfs/t_renamerace.c, 2 times
- contrib/netbsd-tests/fs/vfs/t_renamerace.c, 4 times
- contrib/netbsd-tests/fs/vfs/t_rmdirrace.c, 2 times
- contrib/netbsd-tests/kernel/t_filedesc.c, line 92
- contrib/netbsd-tests/lib/libc/gen/t_nice.c, 2 times
- contrib/netbsd-tests/lib/libc/net/h_nsd_recurse.c, line 104
- contrib/netbsd-tests/lib/libc/stdlib/t_getenv_thread.c, 4 times
- contrib/netbsd-tests/lib/libc/sys/t_getpid.c, line 116
- contrib/netbsd-tests/lib/libc/tls/t_tls_dlopen.c, 2 times
- contrib/netbsd-tests/lib/libc/tls/t_tls_dynamic.c, 2 times
- contrib/netbsd-tests/lib/libc/tls/t_tls_static.c, 2 times
- contrib/netbsd-tests/lib/libpthread/dlopen/dso/h_pthread_dlopen.c, line 82
- contrib/netbsd-tests/lib/libpthread/dlopen/t_main_pthread_create.c, line 65
- contrib/netbsd-tests/lib/libpthread/h_resolv.c, line 137
- contrib/netbsd-tests/lib/libpthread/t_barrier.c, line 86
- contrib/netbsd-tests/lib/libpthread/t_cond.c, 8 times
- contrib/netbsd-tests/lib/libpthread/t_condwait.c, line 112
- contrib/netbsd-tests/lib/libpthread/t_detach.c, line 69
- contrib/netbsd-tests/lib/libpthread/t_equal.c, 2 times
- contrib/netbsd-tests/lib/libpthread/t_fork.c, line 82
- contrib/netbsd-tests/lib/libpthread/t_fpu.c, 2 times
- contrib/netbsd-tests/lib/libpthread/t_join.c, 2 times
- contrib/netbsd-tests/lib/libpthread/t_kill.c, line 125
- contrib/netbsd-tests/lib/libpthread/t_mutex.c, 9 times
- contrib/netbsd-tests/lib/libpthread/t_name.c, line 92
- contrib/netbsd-tests/lib/libpthread/t_once.c, 2 times
- contrib/netbsd-tests/lib/libpthread/t_preempt.c, line 102
- contrib/netbsd-tests/lib/libpthread/t_rwlock.c, line 92
- contrib/netbsd-tests/lib/libpthread/t_sem.c, 2 times
- contrib/netbsd-tests/lib/libpthread/t_sigalarm.c, line 93
- contrib/netbsd-tests/lib/libpthread/t_siglongjmp.c, line 83
- contrib/netbsd-tests/lib/libpthread/t_sigmask.c, 2 times
- contrib/netbsd-tests/lib/libpthread/t_sleep.c, line 84
- contrib/netbsd-tests/lib/libpthread/t_swapcontext.c, line 117
- contrib/netbsd-tests/lib/libpthread_dbg/t_threads.c, 9 times
- contrib/netbsd-tests/lib/librumpclient/h_execthr.c, 4 times
- contrib/netbsd-tests/lib/semaphore/sem.c, 2 times
- contrib/netbsd-tests/libexec/ld.elf_so/h_locking.c, 5 times
- contrib/netbsd-tests/rump/rumpkern/h_client/h_reconcli.c, 5 times
- contrib/netbsd-tests/rump/rumpkern/h_client/h_stresscli.c, line 171
- contrib/ntp/lib/isc/pthreads/thread.c, line 60
- contrib/ntp/libntp/work_thread.c, line 620
- contrib/ntp/ntpd/ntpd.c, line 333
- contrib/ntp/sntp/libevent/test/regress_thread.h, line 35
- contrib/ofed/librdmacm/examples/cmtime.c, 3 times
- contrib/ofed/librdmacm/examples/mckey.c, line 520
- contrib/ofed/librdmacm/examples/rping.c, 5 times
- contrib/ofed/librdmacm/rsocket.c, line 451
- contrib/ofed/opensm/complib/cl_thread.c, line 84
- contrib/ofed/opensm/complib/cl_threadpool.c, line 107
- contrib/ofed/opensm/complib/cl_timer.c, line 88
- contrib/openbsm/bin/auditdistd/receiver.c, 2 times
- contrib/openbsm/bin/auditdistd/sender.c, 3 times
- contrib/processor-trace/include/posix/threads.h, line 98
- contrib/sendmail/libmilter/libmilter.h, line 131
- contrib/sqlite3/sqlite3.c, line 28222
- contrib/unbound/util/locks.h, 2 times
- contrib/xz/src/common/mythread.h, line 163
- crypto/heimdal/appl/gssmask/gssmaestro.c, line 681
- crypto/openssh/auth-pam.c, line 775
- lib/libc/include/un-namespace.h, line 114
- lib/libc/tests/resolv/resolv_test.c, line 225
- lib/libstdthreads/thrd.c, line 69
- lib/libthr/thread/thr_create.c, line 52
- lib/libusb/libusb10_hotplug.c, line 194
- sbin/ggate/ggatec/ggatec.c, line 399
- sbin/ggate/ggated/ggated.c, 2 times
- sbin/hastd/primary.c, 7 times
- sbin/hastd/secondary.c, 3 times
- sys/contrib/dev/acpica/os_specific/service_layers/osunixxf.c, line 1640
- sys/contrib/zstd/lib/common/threading.h, line 96
- tests/sys/cddl/zfs/bin/mmapwrite.c, line 86
- tests/sys/cddl/zfs/bin/rm_lnkcnt_zero_file.c, 3 times
- tests/sys/cddl/zfs/tests/threadsappend/threadsappend.c, line 120
- tests/sys/cddl/zfs/tests/txg_integrity/fsync_integrity.c, line 476
- tests/sys/cddl/zfs/tests/txg_integrity/txg_integrity.c, 2 times
- tests/sys/file/flock_helper.c, line 1494
- tests/sys/file/newfileops_on_fork_test.c, line 119
- tests/sys/kern/ptrace_test.c, 11 times
- tests/sys/kern/unix_seqpacket_test.c, 2 times
- tools/regression/gaithrstress/gaithrstress.c, line 243
- tools/regression/pthread/cv_cancel1/cv_cancel1.c, line 65
- tools/regression/pthread/mutex_isowned_np/mutex_isowned_np.c, line 66
- tools/regression/pthread/unwind/catch_pthread_exit.cpp, line 28
- tools/regression/pthread/unwind/cond_wait_cancel.cpp, line 33
- tools/regression/pthread/unwind/cond_wait_cancel2.cpp, line 50
- tools/regression/pthread/unwind/sem_wait_cancel.cpp, line 29
- tools/regression/pthread/unwind/thread_normal_exit.cpp, line 24
- tools/regression/tls/ttls2/ttls2.c, 2 times
- tools/regression/tls/ttls4/ttls4.c, 2 times
- tools/test/pthread_vfork/pthread_vfork_test.c, line 93
- tools/tools/mctest/mctest.cc, line 373
- tools/tools/netmap/nmreplay.c, line 1258
- tools/tools/netmap/pkt-gen.c, line 1972
- tools/tools/netrate/http/http.c, line 310
- tools/tools/netrate/httpd/httpd.c, line 282
- tools/tools/netrate/juggle/juggle.c, line 328
- tools/tools/netrate/netreceive/netreceive.c, line 150
- tools/tools/syscall_timing/syscall_timing.c, line 541
- tools/tools/tscdrift/tscdrift.c, line 134
- usr.bin/mkuzip/mkuz_conveyor.c, line 122
- usr.bin/sort/file.c, line 1566
- usr.bin/sort/radixsort.c, line 624
- usr.sbin/bhyve/bhyverun.c, line 389
- usr.sbin/bhyve/block_if.c, line 567
- usr.sbin/bhyve/mevent_test.c, 2 times
- usr.sbin/bhyve/pci_e82545.c, line 2301
- usr.sbin/bhyve/pci_virtio_net.c, line 932
- usr.sbin/bhyve/pci_virtio_scsi.c, line 644
- usr.sbin/bhyve/rfb.c, 2 times
- usr.sbin/camdd/camdd.c, line 3230
- usr.sbin/ngctl/main.c, line 301
- usr.sbin/nscd/nscd.c, line 842
- usr.sbin/pppctl/pppctl.c, 2 times