Defined in 1 files as a prototype:
Defined in 6 files as a macro:
Defined in 1 files as a function:
Referenced in 162 files:
- crypto/external/bsd/openssh/dist/cipher-ctr-mt.c, 2 times
- crypto/external/bsd/openssl.old/dist/crypto/threads_pthread.c, line 155
- crypto/external/bsd/openssl/dist/crypto/threads_pthread.c, line 193
- crypto/external/cpl/trousers/dist/src/include/threads.h, line 34
- external/apache2/llvm/dist/clang/tools/libclang/CIndex.cpp, line 9184
- external/apache2/llvm/dist/libcxx/utils/google-benchmark/src/timers.cc, line 155
- external/apache2/llvm/dist/llvm/lib/ExecutionEngine/IntelJITEvents/ittnotify_config.h, line 253
- external/apache2/llvm/dist/llvm/utils/benchmark/src/timers.cc, line 155
- external/apache2/llvm/dist/llvm/utils/unittest/googletest/include/gtest/internal/gtest-port.h, 2 times
- 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 333
- external/bsd/libevent/dist/evthread_pthread.c, line 102
- external/bsd/libevent/dist/test/regress_thread.h, line 47
- 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/thr_posix.c, line 341
- external/bsd/openldap/dist/libraries/liblmdb/mdb.c, line 2701
- 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/binutils/dist/gprofng/libcollector/unwind.c, line 348
- external/gpl3/binutils/dist/gprofng/src/DbeThread.cc, 11 times
- external/gpl3/binutils/dist/gprofng/src/ipc.cc, 2 times
- external/gpl3/gcc.old/dist/gcc/lto-wrapper.c, line 1246
- external/gpl3/gcc.old/dist/libgcc/config/gthr-rtems.h, line 93
- external/gpl3/gcc.old/dist/libgcc/config/pa/gthr-dce.h, 4 times
- external/gpl3/gcc.old/dist/libgcc/gthr-posix.h, 5 times
- external/gpl3/gcc.old/dist/libgomp/config/linux/affinity.c, line 59
- external/gpl3/gcc.old/dist/libgomp/config/linux/proc.c, 2 times
- external/gpl3/gcc.old/dist/libgomp/libgomp.h, 3 times
- external/gpl3/gcc.old/dist/libgomp/oacc-init.c, 2 times
- external/gpl3/gcc.old/dist/libgomp/team.c, 3 times
- external/gpl3/gcc.old/dist/libsanitizer/asan/asan_mac.cc, 3 times
- external/gpl3/gcc.old/dist/libsanitizer/lsan/lsan_mac.cc, line 83
- external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_fuchsia.cc, line 81
- external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_linux_libcdep.cc, 2 times
- external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_mac.cc, 2 times
- external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cc, line 55
- external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_rtems.cc, 2 times
- external/gpl3/gcc.old/dist/libsanitizer/tsan/tsan_interceptors.cc, 3 times
- external/gpl3/gcc.old/dist/libsanitizer/tsan/tsan_platform_mac.cc, 4 times
- external/gpl3/gcc.old/dist/libstdc++-v3/config/os/gnu-linux/os_defines.h, line 54
- external/gpl3/gcc/dist/gcc/lto-wrapper.c, line 1246
- 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 59
- external/gpl3/gcc/dist/libgomp/config/linux/proc.c, 2 times
- external/gpl3/gcc/dist/libgomp/libgomp.h, 3 times
- external/gpl3/gcc/dist/libgomp/oacc-init.c, 2 times
- external/gpl3/gcc/dist/libgomp/team.c, 3 times
- external/gpl3/gcc/dist/libsanitizer/asan/asan_mac.cc, 3 times
- external/gpl3/gcc/dist/libsanitizer/lsan/lsan_mac.cc, line 83
- external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_fuchsia.cc, line 81
- external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_linux_libcdep.cc, 2 times
- external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_mac.cc, 2 times
- external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cc, line 55
- external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_rtems.cc, 2 times
- external/gpl3/gcc/dist/libsanitizer/tsan/tsan_interceptors.cc, 3 times
- external/gpl3/gcc/dist/libsanitizer/tsan/tsan_platform_mac.cc, 4 times
- external/gpl3/gcc/dist/libstdc++-v3/config/os/gnu-linux/os_defines.h, line 54
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.python/py-thrhandle.c, line 76
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/attach-many-short-lived-threads.c, 4 times
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/corethreads.c, 2 times
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/gcore-stale-thread.c, line 40
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/leader-exit.c, line 42
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/multiple-successive-infcall.c, line 41
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/names.c, 2 times
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/no-unwaited-for-left.c, line 56
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/non-ldr-exc-2.c, line 64
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/non-ldr-exc-3.c, line 84
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/non-stop-fair-events.c, 2 times
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/pthreads.c, 3 times
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/queue-signal.c, 2 times
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/sigthread.c, line 65
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/stepi-random-signal.c, line 41
- external/gpl3/gdb.old/dist/gdbsupport/thread-pool.cc, 2 times
- external/gpl3/gdb.old/dist/gnulib/import/glthread/lock.c, 2 times
- external/gpl3/gdb.old/dist/gnulib/import/glthread/lock.h, line 265
- external/gpl3/gdb.old/dist/sim/testsuite/sim/cris/c/thread2.c, 2 times
- external/gpl3/gdb.old/dist/sim/testsuite/sim/cris/c/thread5.c, line 57
- 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/gdbsupport/thread-pool.cc, 2 times
- external/gpl3/gdb/dist/gnulib/import/glthread/lock.c, 2 times
- external/gpl3/gdb/dist/gnulib/import/glthread/lock.h, line 265
- 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/mit/libuv/dist/src/unix/thread.c, line 289
- external/mit/libuv/dist/test/test-fs.c, line 3681
- external/mit/libuv/dist/test/test-thread.c, 2 times
- external/mpl/bind/dist/lib/isc/app.c, 2 times
- external/mpl/bind/dist/lib/isc/netmgr/netmgr-int.h, line 114
- external/mpl/bind/dist/lib/isc/pthreads/include/isc/thread.h, line 56
- 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 133
- lib/libpthread/pthread_cond.c, 2 times
- 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/dev/audio/audiotest.c, 3 times
- tests/lib/libc/setjmp/t_threadjmp.c, 6 times
- tests/lib/libc/sys/t_ptrace_lwp_wait.h, 2 times
- tests/lib/libc/sys/t_ptrace_threads_wait.h, line 717
- 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