Defined in 2 files as a typedef:
Defined in 1 files as a struct:
Defined in 1 files as a macro:
Referenced in 219 files:
- common/lib/libprop/prop_object.c, line 36
- common/lib/libprop/prop_object_impl.h, line 438
- crypto/external/bsd/heimdal/dist/include/heim_threads.h, line 111
- crypto/external/bsd/openssh/dist/cipher-ctr-mt.c, 2 times
- crypto/external/bsd/openssl.old/dist/crypto/threads_pthread.c, line 42
- crypto/external/bsd/openssl/dist/crypto/threads_pthread.c, line 63
- crypto/external/cpl/trousers/dist/src/include/threads.h, 3 times
- external/apache2/llvm/dist/clang/tools/scan-build-py/libear/ear.c, line 97
- external/apache2/llvm/dist/llvm/examples/ParallelJIT/ParallelJIT.cpp, line 239
- external/apache2/llvm/dist/llvm/lib/ExecutionEngine/IntelJITEvents/ittnotify_config.h, line 193
- external/apache2/llvm/dist/llvm/utils/unittest/googletest/include/gtest/internal/gtest-port.h, 2 times
- external/apache2/mDNSResponder/nss/nss_mdnsd.c, 2 times
- external/bsd/blocklist/lib/bl.c, line 73
- external/bsd/iscsi/dist/include/iscsiutil.h, 2 times
- external/bsd/jemalloc/dist/include/jemalloc/internal/mutex.h, 2 times
- external/bsd/jemalloc/dist/src/mutex.c, line 42
- external/bsd/jemalloc/dist/test/include/test/mtx.h, line 16
- external/bsd/jemalloc/include/jemalloc/internal/mutex.h, 2 times
- external/bsd/libarchive/dist/libarchive/archive_random.c, line 148
- external/bsd/libbind/dist/irs/gai_strerror.c, line 59
- external/bsd/libbind/dist/irs/irs_data.c, line 130
- external/bsd/libbind/dist/isc/memcluster.c, line 97
- external/bsd/libbind/dist/resolv/mtctxres.c, line 110
- external/bsd/libc++/dist/libcxxrt/src/cxa_atexit.c, line 37
- external/bsd/libc++/dist/libcxxrt/src/exception.cc, line 447
- external/bsd/libevent/dist/evthread_pthread.c, 6 times
- external/bsd/ntp/dist/lib/isc/pthreads/include/isc/mutex.h, 2 times
- external/bsd/ntp/dist/lib/isc/pthreads/mutex.c, line 97
- external/bsd/ntp/dist/sntp/libevent/evthread_pthread.c, 6 times
- external/bsd/nvi/dist/common/pthread.c, 6 times
- external/bsd/openldap/dist/include/ldap_int_thread.h, line 46
- external/bsd/openldap/dist/libraries/liblmdb/mdb.c, 4 times
- external/bsd/unbound/dist/testcode/checklocks.c, 2 times
- external/bsd/unbound/dist/testcode/checklocks.h, 2 times
- external/bsd/unbound/dist/util/locks.h, 3 times
- external/cddl/osnet/dist/head/thread.h, line 45
- external/cddl/osnet/dist/lib/libdtrace/common/dt_aggregate.c, line 53
- external/cddl/osnet/dist/lib/libdtrace/common/dt_impl.h, line 661
- external/cddl/osnet/dist/lib/libdtrace/common/dt_proc.h, 2 times
- external/cddl/osnet/dist/lib/libdtrace/common/dt_subr.c, line 909
- external/cddl/osnet/dist/lib/libuutil/common/libuutil_impl.h, 2 times
- external/cddl/osnet/dist/lib/libuutil/common/uu_avl.c, line 36
- external/cddl/osnet/dist/lib/libuutil/common/uu_list.c, line 60
- external/cddl/osnet/dist/lib/libuutil/common/uu_misc.c, 2 times
- external/cddl/osnet/dist/lib/libzfs_core/common/libzfs_core.c, line 97
- external/cddl/osnet/dist/tools/ctf/cvt/barrier.h, line 55
- external/cddl/osnet/dist/tools/ctf/cvt/ctfmerge.h, 3 times
- external/cddl/osnet/dist/tools/ctf/cvt/ctftools.h, line 320
- external/gpl2/gettext/dist/gettext-runtime/intl/lock.h, 11 times
- external/gpl2/gettext/dist/gettext-tools/gnulib-lib/lock.h, 11 times
- external/gpl2/gettext/dist/gettext-tools/libgettextpo/lock.h, 11 times
- external/gpl2/gettext/dist/gettext-tools/tests/gettext-6-prg.c, line 44
- external/gpl2/gettext/dist/gettext-tools/tests/gettext-7-prg.c, line 44
- external/gpl2/lvm2/dist/daemons/clvmd/clvmd-cman.c, line 80
- external/gpl2/lvm2/dist/daemons/clvmd/clvmd-gulm.c, 2 times
- external/gpl2/lvm2/dist/daemons/clvmd/clvmd.c, 2 times
- external/gpl2/lvm2/dist/daemons/clvmd/clvmd.h, 2 times
- external/gpl2/lvm2/dist/daemons/clvmd/lvm-functions.c, 2 times
- external/gpl2/lvm2/dist/daemons/dmeventd/dmeventd.c, 2 times
- external/gpl2/lvm2/dist/daemons/dmeventd/plugins/mirror/dmeventd_mirror.c, 2 times
- external/gpl2/lvm2/dist/daemons/dmeventd/plugins/snapshot/dmeventd_snapshot.c, 2 times
- external/gpl3/binutils.old/dist/gold/gold-threads.cc, 2 times
- external/gpl3/binutils/dist/gold/gold-threads.cc, 2 times
- external/gpl3/binutils/dist/gprofng/libcollector/synctrace.c, 14 times
- external/gpl3/binutils/dist/gprofng/src/DbeLock.h, line 35
- external/gpl3/binutils/dist/gprofng/src/DbeThread.h, line 49
- external/gpl3/binutils/dist/gprofng/src/ipcio.h, line 139
- external/gpl3/gcc.old/dist/gcc/jit/jit-playback.c, line 2181
- external/gpl3/gcc.old/dist/gcc/jit/libgccjit.c, line 3185
- external/gpl3/gcc.old/dist/libgcc/config/pa/gthr-dce.h, 8 times
- external/gpl3/gcc.old/dist/libgcc/config/s390/gthr-tpf.h, 2 times
- external/gpl3/gcc.old/dist/libgcc/gthr-posix.h, 11 times
- external/gpl3/gcc.old/dist/libgomp/config/posix/mutex.h, line 34
- external/gpl3/gcc.old/dist/libgomp/config/posix/omp-lock.h, 4 times
- external/gpl3/gcc.old/dist/libgomp/config/posix/sem.h, line 52
- external/gpl3/gcc.old/dist/libgomp/plugin/plugin-gcn.c, 7 times
- external/gpl3/gcc.old/dist/libgomp/plugin/plugin-hsa.c, 2 times
- external/gpl3/gcc.old/dist/libgomp/plugin/plugin-nvptx.c, 3 times
- external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_platform_limits_netbsd.cc, line 544
- external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_platform_limits_openbsd.cc, line 76
- external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc, line 224
- external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_platform_limits_solaris.cc, line 76
- external/gpl3/gcc/dist/gcc/jit/jit-playback.c, line 2181
- external/gpl3/gcc/dist/gcc/jit/libgccjit.c, line 3185
- external/gpl3/gcc/dist/libgcc/config/pa/gthr-dce.h, 8 times
- external/gpl3/gcc/dist/libgcc/config/s390/gthr-tpf.h, 2 times
- external/gpl3/gcc/dist/libgcc/gthr-posix.h, 11 times
- external/gpl3/gcc/dist/libgomp/config/posix/mutex.h, line 34
- external/gpl3/gcc/dist/libgomp/config/posix/omp-lock.h, 4 times
- external/gpl3/gcc/dist/libgomp/config/posix/sem.h, line 52
- external/gpl3/gcc/dist/libgomp/plugin/plugin-gcn.c, 7 times
- external/gpl3/gcc/dist/libgomp/plugin/plugin-hsa.c, 2 times
- external/gpl3/gcc/dist/libgomp/plugin/plugin-nvptx.c, 3 times
- external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_platform_limits_netbsd.cc, line 544
- external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_platform_limits_openbsd.cc, line 76
- external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc, line 224
- external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_platform_limits_solaris.cc, line 76
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/info-os.c, line 28
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.server/exit-multiple-threads.c, line 34
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/attach-many-short-lived-threads.c, line 35
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/bp_in_thread.c, 2 times
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/hand-call-in-threads.c, 3 times
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/ia64-sigill.c, 4 times
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/interrupted-hand-call.c, 3 times
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/linux-dp.c, 3 times
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/pthread_cond_wait.c, 2 times
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/queue-signal.c, line 32
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/siginfo-threads.c, 4 times
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/slow-waitpid.c, line 115
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/watchthreads-reorder.c, 4 times
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/watchthreads2.c, line 38
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/wp-replication.c, line 56
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.trace/ftrace-lock.c, line 28
- external/gpl3/gdb.old/dist/gnulib/import/glthread/lock.h, 11 times
- external/gpl3/gdb.old/dist/gnulib/import/mbtowc-lock.c, 3 times
- external/gpl3/gdb.old/dist/gnulib/import/mbtowc-lock.h, 2 times
- external/gpl3/gdb.old/dist/gnulib/import/setlocale-lock.c, 3 times
- external/gpl3/gdb.old/dist/gnulib/import/setlocale_null.c, 2 times
- external/gpl3/gdb.old/dist/gold/gold-threads.cc, 2 times
- external/gpl3/gdb/dist/gdb/testsuite/gdb.base/info-os.c, line 28
- external/gpl3/gdb/dist/gdb/testsuite/gdb.server/exit-multiple-threads.c, line 34
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/attach-many-short-lived-threads.c, line 35
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/bp_in_thread.c, 2 times
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/hand-call-in-threads.c, 3 times
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/ia64-sigill.c, 4 times
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/interrupted-hand-call.c, 3 times
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/linux-dp.c, 3 times
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/pthread_cond_wait.c, 2 times
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/queue-signal.c, line 32
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/siginfo-threads.c, 4 times
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/slow-waitpid.c, line 115
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/watchthreads-reorder.c, 4 times
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/watchthreads2.c, line 38
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/wp-replication.c, line 56
- external/gpl3/gdb/dist/gdb/testsuite/gdb.trace/ftrace-lock.c, line 28
- external/gpl3/gdb/dist/gnulib/import/glthread/lock.h, 11 times
- external/gpl3/gdb/dist/gnulib/import/mbtowc-lock.c, 3 times
- external/gpl3/gdb/dist/gnulib/import/mbtowc-lock.h, 2 times
- external/gpl3/gdb/dist/gnulib/import/setlocale-lock.c, 3 times
- external/gpl3/gdb/dist/gnulib/import/setlocale_null.c, 2 times
- external/gpl3/gdb/dist/gold/gold-threads.cc, 2 times
- external/mit/libuv/dist/include/uv/unix.h, line 135
- external/mit/libuv/dist/src/unix/fs.c, line 1217
- external/mit/libuv/dist/src/unix/fsevents.c, line 517
- external/mit/libuv/dist/src/unix/thread.c, line 761
- external/mpl/bind/dist/bin/named/fuzz.c, line 48
- external/mpl/bind/dist/contrib/dlz/modules/include/dlz_pthread.h, line 30
- external/mpl/bind/dist/lib/isc/pthreads/include/isc/mutex.h, 2 times
- external/mpl/bind/dist/lib/isc/pthreads/mutex.c, line 84
- external/public-domain/sqlite/dist/sqlite3.c, line 25364
- external/public-domain/xz/dist/src/common/mythread.h, line 113
- external/zlib/pigz/dist/yarn.c, line 91
- lib/libc/include/reentrant.h, line 97
- lib/libc/resolv/mtctxres.c, line 109
- lib/libedit/terminal.c, line 224
- lib/libisns/isns_config.h, 2 times
- lib/libisns/isns_pdu.c, line 86
- lib/libisns/isns_task.h, line 76
- lib/libpthread/pthread.c, 6 times
- lib/libpthread/pthread.h, 19 times
- lib/libpthread/pthread_barrier.c, line 78
- lib/libpthread/pthread_cond.c, 4 times
- lib/libpthread/pthread_int.h, 6 times
- lib/libpthread/pthread_mutex.c, 16 times
- lib/libpthread/pthread_once.c, line 53
- lib/libpthread/pthread_rwlock.c, 5 times
- lib/libpthread/pthread_tsd.c, line 48
- lib/libpthread/pthread_types.h, 2 times
- lib/libpthread/res_state.c, line 61
- lib/libpthread/threads.h, line 61
- lib/libpuffs/puffs.c, line 63
- lib/libpuffs/puffs_priv.h, line 38
- lib/librefuse/refuse.c, line 127
- lib/librefuse/refuse/chan.c, line 65
- lib/librefuse/refuse_log.c, line 54
- lib/librefuse/refuse_signals.c, line 78
- lib/librt/sem.c, line 133
- lib/librumpuser/rumpuser_bio.c, line 60
- lib/librumpuser/rumpuser_pth.c, 2 times
- lib/librumpuser/rumpuser_sp.c, 2 times
- lib/librumpuser/sp_common.c, line 213
- regress/sys/kern/nameibench/nameibench.c, line 59
- sbin/iscsid/iscsid_globals.h, line 372
- sbin/iscsid/iscsid_main.c, line 51
- sys/external/bsd/compiler_rt/dist/lib/builtins/emutls.c, line 92
- sys/external/bsd/compiler_rt/dist/lib/msan/tests/msan_test.cc, 2 times
- sys/external/bsd/compiler_rt/dist/lib/safestack/safestack.cc, line 163
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_platform_limits_freebsd.cc, line 105
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_platform_limits_netbsd.cc, line 383
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_platform_limits_openbsd.cc, line 78
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_platform_limits_posix.cc, line 182
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_platform_limits_solaris.cc, line 78
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/symbolizer/sanitizer_wrappers.cc, 5 times
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/sanitizer_linux_test.cc, 2 times
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/sanitizer_stoptheworld_test.cc, 2 times
- sys/external/bsd/compiler_rt/dist/lib/tsan/benchmarks/vts_many_threads_bench.cc, line 39
- sys/external/bsd/compiler_rt/dist/lib/tsan/dd/dd_interceptors.cc, 6 times
- sys/external/bsd/compiler_rt/dist/lib/tsan/tests/rtl/tsan_posix.cc, 4 times
- sys/external/bsd/compiler_rt/dist/lib/tsan/tests/rtl/tsan_posix_util.h, 6 times
- sys/external/bsd/compiler_rt/dist/lib/tsan/tests/rtl/tsan_test_util_posix.cc, 7 times
- sys/external/bsd/sljit/dist/sljit_src/sljitUtils.c, 3 times
- sys/external/isc/libsodium/dist/src/libsodium/sodium/core.c, line 126
- tests/fs/puffs/t_fuzz.c, line 168
- tests/lib/libc/sys/t_eventfd.c, line 54
- tests/lib/libc/sys/t_ptrace_lwp_wait.h, line 32
- tests/lib/libc/sys/t_ptrace_threads_wait.h, line 33
- tests/lib/libpthread/dlopen/dso/h_pthread_dlopen.c, 4 times
- tests/lib/libpthread/dlopen/t_dlopen.c, 5 times
- tests/lib/libpthread/h_resolv.c, line 61
- tests/lib/libpthread/t_barrier.c, line 45
- tests/lib/libpthread/t_cond.c, 3 times
- tests/lib/libpthread/t_condwait.c, line 57
- tests/lib/libpthread/t_fpu.c, line 70
- tests/lib/libpthread/t_mutex.c, 4 times
- tests/lib/libpthread/t_once.c, 2 times
- tests/lib/libpthread/t_preempt.c, line 46
- tests/libexec/ld.elf_so/h_thread_local_dtor.c, line 35
- tests/rump/rumpkern/h_client/h_reconcli.c, line 18
- tests/usr.bin/xlint/lint1/d_c99_nested_struct.c, line 25