Defined in 1 files as a prototype:
Defined in 5 files as a macro:
Defined in 1 files as a function:
Referenced in 102 files:
- crypto/external/bsd/openssh/dist/cipher-ctr-mt.c, 2 times
- crypto/external/bsd/openssl/dist/crypto/threads_pthread.c, line 155
- crypto/external/cpl/trousers/dist/src/include/threads.h, line 34
- external/bsd/jemalloc/dist/src/background_thread.c, 2 times
- external/bsd/jemalloc/dist/src/jemalloc.c, 3 times
- external/bsd/jemalloc/dist/src/tsd.c, line 329
- external/bsd/libc++/dist/libcxx/src/mutex.cpp, 2 times
- external/bsd/libevent/dist/evthread_pthread.c, line 102
- external/bsd/llvm/dist/clang/tools/libclang/CIndex.cpp, line 8717
- external/bsd/llvm/dist/llvm/lib/ExecutionEngine/IntelJITEvents/ittnotify_config.h, line 254
- external/bsd/llvm/dist/llvm/utils/unittest/googletest/include/gtest/internal/gtest-port.h, 2 times
- external/bsd/ntp/dist/lib/isc/pthreads/include/isc/thread.h, line 53
- external/bsd/ntp/dist/lib/isc/unix/app.c, 4 times
- external/bsd/ntp/dist/sntp/libevent/evthread_pthread.c, line 101
- external/bsd/openldap/dist/libraries/libldap_r/thr_posix.c, line 318
- external/bsd/openldap/dist/libraries/liblmdb/mdb.c, line 2698
- external/bsd/unbound/dist/testcode/checklocks.c, line 679
- external/bsd/unbound/dist/testcode/checklocks.h, line 334
- external/bsd/unbound/dist/util/locks.h, line 172
- external/cddl/osnet/dist/head/thread.h, line 51
- external/cddl/osnet/dist/lib/libuutil/common/uu_misc.c, 2 times
- external/cddl/osnet/dist/tools/ctf/cvt/ctfmerge.c, 10 times
- external/cddl/osnet/lib/libzfs/thread_pool.c, 3 times
- external/gpl2/gettext/dist/gettext-runtime/intl/lock.c, 2 times
- external/gpl2/gettext/dist/gettext-runtime/intl/lock.h, line 124
- external/gpl2/gettext/dist/gettext-runtime/tests/test-lock.c, line 109
- external/gpl2/gettext/dist/gettext-tools/gnulib-lib/lock.c, 2 times
- external/gpl2/gettext/dist/gettext-tools/gnulib-lib/lock.h, line 123
- external/gpl2/gettext/dist/gettext-tools/gnulib-lib/tls.h, line 69
- external/gpl2/gettext/dist/gettext-tools/libgettextpo/lock.c, 2 times
- external/gpl2/gettext/dist/gettext-tools/libgettextpo/lock.h, line 123
- external/gpl2/gettext/dist/gettext-tools/libgettextpo/tls.h, line 69
- external/gpl2/lvm2/dist/daemons/clvmd/clvmd.c, line 209
- external/gpl2/lvm2/dist/daemons/dmeventd/dmeventd.c, line 215
- external/gpl3/gcc/dist/libgcc/config/gthr-rtems.h, line 93
- external/gpl3/gcc/dist/libgcc/config/pa/gthr-dce.h, 4 times
- external/gpl3/gcc/dist/libgcc/gthr-posix.h, 5 times
- external/gpl3/gcc/dist/libgomp/config/linux/affinity.c, line 58
- external/gpl3/gcc/dist/libgomp/config/linux/proc.c, 2 times
- external/gpl3/gcc/dist/libgomp/plugin/plugin-nvptx.c, 12 times
- external/gpl3/gcc/dist/libsanitizer/asan/asan_mac.cc, 3 times
- external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_linux.cc, line 416
- external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_linux_libcdep.cc, 2 times
- external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_mac.cc, 6 times
- external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cc, line 54
- external/gpl3/gcc/dist/libsanitizer/tsan/tsan_interceptors.cc, 3 times
- external/gpl3/gcc/dist/libsanitizer/tsan/tsan_platform_mac.cc, 5 times
- external/gpl3/gdb/dist/gdb/testsuite/gdb.python/py-thrhandle.c, line 76
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/attach-many-short-lived-threads.c, 4 times
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/corethreads.c, 2 times
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/gcore-stale-thread.c, line 40
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/leader-exit.c, line 42
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/multiple-successive-infcall.c, line 41
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/names.c, 2 times
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/no-unwaited-for-left.c, line 56
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/non-ldr-exc-2.c, line 64
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/non-ldr-exc-3.c, line 84
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/non-stop-fair-events.c, 2 times
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/pthreads.c, 3 times
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/queue-signal.c, 2 times
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/sigthread.c, line 65
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/stepi-random-signal.c, line 41
- external/gpl3/gdb/dist/sim/testsuite/sim/cris/c/thread2.c, 2 times
- external/gpl3/gdb/dist/sim/testsuite/sim/cris/c/thread5.c, line 57
- external/mpl/bind/dist/lib/isc/pthreads/include/isc/thread.h, line 59
- external/mpl/bind/dist/lib/isc/pthreads/thread.c, 2 times
- external/mpl/bind/dist/lib/isc/unix/app.c, 2 times
- external/public-domain/sqlite/dist/sqlite3.c, 7 times
- external/zlib/pigz/dist/yarn.c, line 213
- lib/libc/thread-stub/thread-stub.c, 2 times
- lib/libpthread/pthread.c, line 128
- lib/libpthread/thrd.c, line 100
- regress/sys/kern/latency1/latency1.c, line 116
- regress/sys/kern/latency2/latency2.c, line 130
- regress/sys/kern/select/select.c, 8 times
- sbin/iscsid/iscsid_main.c, line 568
- sys/external/bsd/acpica/dist/os_specific/service_layers/osunixxf.c, line 1503
- sys/external/bsd/compiler_rt/dist/lib/asan/asan_mac.cc, 3 times
- sys/external/bsd/compiler_rt/dist/lib/asan/tests/asan_test.cc, 3 times
- sys/external/bsd/compiler_rt/dist/lib/lsan/lsan_mac.cc, line 85
- sys/external/bsd/compiler_rt/dist/lib/msan/tests/msan_test.cc, line 3375
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_fuchsia.cc, line 79
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_linux_libcdep.cc, 2 times
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_mac.cc, 2 times
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_posix_libcdep.cc, line 57
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_rtems.cc, 2 times
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/sanitizer_linux_test.cc, 2 times
- sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_interceptors.cc, 3 times
- sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_platform_mac.cc, 4 times
- tests/lib/libc/setjmp/t_threadjmp.c, 6 times
- tests/lib/libc/sys/t_ptrace_wait.c, line 7712
- tests/lib/libpthread/h_cancel.c, line 47
- tests/lib/libpthread/h_resolv.c, 2 times
- tests/lib/libpthread/t_join.c, 2 times
- tests/lib/libpthread/t_kill.c, 3 times
- tests/lib/libpthread/t_mutex.c, 4 times
- tests/lib/libpthread/t_name.c, 2 times
- tests/lib/libpthread/t_sem.c, line 146
- tests/lib/libpthread/t_sigalarm.c, line 91
- tests/lib/libpthread/t_sigmask.c, 2 times
- tests/lib/libpthread/t_swapcontext.c, 2 times
- usr.sbin/nfsd/nfsd.c, 2 times