crypto/heimdal/appl/gssmask/gssmaestro.c
54
pthread_t thr;
crypto/krb5/src/ccapi/test/simple_lock_test.c
53
pthread_t thread_id;
crypto/krb5/src/util/et/t_com_err.c
125
pthread_t t;
crypto/openssh/auth-pam.c
127
typedef pthread_t sp_pthread_t;
crypto/openssl/crypto/thread/arch/thread_posix.c
39
pthread_t *handle;
crypto/openssl/crypto/thread/arch/thread_posix.c
66
pthread_t *handle;
crypto/openssl/crypto/thread/arch/thread_posix.c
71
handle = (pthread_t *)thread->handle;
crypto/openssl/crypto/thread/arch/thread_posix.c
93
return pthread_equal(*(pthread_t *)thread->handle, pthread_self());
crypto/openssl/include/openssl/crypto.h
546
typedef pthread_t CRYPTO_THREAD_ID;
crypto/openssl/test/drbgtest.c
727
typedef pthread_t thread_t;
crypto/openssl/test/threadstest.h
59
typedef pthread_t thread_t;
include/pthread.h
213
int pthread_create(pthread_t * __restrict,
include/pthread.h
216
int pthread_detach(pthread_t);
include/pthread.h
217
int pthread_equal(pthread_t, pthread_t);
include/pthread.h
220
int pthread_getcpuclockid(pthread_t, clockid_t *);
include/pthread.h
221
int pthread_join(pthread_t, void **);
include/pthread.h
283
pthread_t pthread_self(void);
include/pthread.h
296
int pthread_cancel(pthread_t);
include/pthread.h
302
int pthread_getprio(pthread_t);
include/pthread.h
303
int pthread_setprio(pthread_t, int);
include/pthread.h
306
int pthread_getname_np(pthread_t, char *, size_t);
include/pthread.h
307
int pthread_setname_np(pthread_t, const char *);
include/pthread.h
309
int pthread_sigqueue(pthread_t thread, int sig,
include/pthread.h
345
int pthread_getschedparam(pthread_t pthread, int * __restrict,
include/pthread.h
347
int pthread_setschedparam(pthread_t, int,
include/pthread_np.h
42
int pthread_attr_get_np(pthread_t, pthread_attr_t *);
include/pthread_np.h
45
void pthread_get_name_np(pthread_t, char *, size_t);
include/pthread_np.h
46
int pthread_getaffinity_np(pthread_t, size_t, cpuset_t *);
include/pthread_np.h
58
int pthread_resume_np(pthread_t);
include/pthread_np.h
59
int pthread_peekjoin_np(pthread_t, void **);
include/pthread_np.h
60
void pthread_set_name_np(pthread_t, const char *);
include/pthread_np.h
61
int pthread_setaffinity_np(pthread_t, size_t, const cpuset_t *);
include/pthread_np.h
66
int pthread_suspend_np(pthread_t);
include/pthread_np.h
67
int pthread_timedjoin_np(pthread_t, void **, const struct timespec *);
include/pthread_np.h
68
int pthread_tryjoin_np(pthread_t, void **);
lib/libc/gen/_pthread_stubs.c
256
STUB_FUNC(pthread_self, PJT_SELF, pthread_t)
lib/libc/gen/_pthread_stubs.c
296
STUB_FUNC2(pthread_attr_get_np, PJT_ATTR_GET_NP, int, pthread_t, pthread_attr_t *)
lib/libc/gen/_pthread_stubs.c
297
STUB_FUNC3(pthread_getname_np, PJT_GETNAME_NP, int, pthread_t, char *, size_t)
lib/libc/gen/_pthread_stubs.c
356
stub_getname_np(pthread_t thread, char *buf, size_t len)
lib/libc/gen/_pthread_stubs.c
61
static int stub_getname_np(pthread_t, char *, size_t);
lib/libc/stdio/_flock_stub.c
111
pthread_t curthread = _pthread_self();
lib/libc/stdio/_flock_stub.c
63
pthread_t curthread = _pthread_self();
lib/libc/stdio/_flock_stub.c
90
pthread_t curthread = _pthread_self();
lib/libc/tests/resolv/resolv_test.c
232
static pthread_t
lib/libc/tests/resolv/resolv_test.c
235
pthread_t t;
lib/libc/tests/resolv/resolv_test.c
255
pthread_t *threads;
lib/libc/tests/resolv/resolv_test.c
274
threads = calloc(nthreads, sizeof(pthread_t));
lib/libc/tests/resolv/resolv_test.c
67
static pthread_t run(int, enum method, long);
lib/libc/tests/stdlib/dynthr_mod/dynthr_mod.c
43
static pthread_t thr;
lib/libc/tests/stdlib/libc_exit_test.c
131
pthread_t thr;
lib/libc/tests/stdlib/system_test.c
111
pthread_t thr[N];
lib/libcuse/cuse_lib.c
456
pthread_t curr = pthread_self();
lib/libcuse/cuse_lib.c
603
pthread_t curr = pthread_self();
lib/libcuse/cuse_lib.c
66
pthread_t thread;
lib/librt/sigev_thread.c
372
pthread_t td;
lib/librt/sigev_thread.h
59
pthread_t tn_thread;
lib/libthr/tests/pthread_sigqueue_test.c
42
static pthread_t thr[NTHREADS];
lib/libthr/tests/pthread_sigqueue_test.c
48
pthread_t self;
lib/libthr/tests/pthread_tryjoin_test.c
39
pthread_t thr;
lib/libthr/tests/umtx_op_test.c
70
pthread_t threads[THREAD_COUNT];
lib/libthr/thread/thr_affinity.c
41
_pthread_setaffinity_np(pthread_t td, size_t cpusetsize, const cpuset_t *cpusetp)
lib/libthr/thread/thr_affinity.c
64
_pthread_getaffinity_np(pthread_t td, size_t cpusetsize, cpuset_t *cpusetp)
lib/libthr/thread/thr_attr.c
129
_thr_attr_get_np(pthread_t pthread, pthread_attr_t *dstattr)
lib/libthr/thread/thr_cancel.c
61
_thr_cancel(pthread_t pthread)
lib/libthr/thread/thr_create.c
58
_pthread_create(pthread_t * __restrict thread,
lib/libthr/thread/thr_detach.c
42
_thr_detach(pthread_t pthread)
lib/libthr/thread/thr_equal.c
41
_thr_equal(pthread_t t1, pthread_t t2)
lib/libthr/thread/thr_getcpuclockid.c
40
_pthread_getcpuclockid(pthread_t pthread, clockid_t *clock_id)
lib/libthr/thread/thr_getprio.c
41
_pthread_getprio(pthread_t pthread)
lib/libthr/thread/thr_getschedparam.c
47
_pthread_getschedparam(pthread_t pthread, int * __restrict policy,
lib/libthr/thread/thr_info.c
101
_pthread_set_name_np(pthread_t thread, const char *name)
lib/libthr/thread/thr_info.c
119
_thr_getname_np(pthread_t thread, char *buf, size_t len)
lib/libthr/thread/thr_info.c
148
_pthread_get_name_np(pthread_t thread, char *buf, size_t len)
lib/libthr/thread/thr_info.c
58
_pthread_setname_np(pthread_t thread, const char *name)
lib/libthr/thread/thr_join.c
115
join_common(pthread_t pthread, void **thread_return,
lib/libthr/thread/thr_join.c
36
int _pthread_peekjoin_np(pthread_t pthread, void **thread_return);
lib/libthr/thread/thr_join.c
37
int _pthread_tryjoin_np(pthread_t pthread, void **thread_return);
lib/libthr/thread/thr_join.c
38
int _pthread_timedjoin_np(pthread_t pthread, void **thread_return,
lib/libthr/thread/thr_join.c
40
static int join_common(pthread_t, void **, const struct timespec *, bool peek,
lib/libthr/thread/thr_join.c
67
_thr_join(pthread_t pthread, void **thread_return)
lib/libthr/thread/thr_join.c
73
_pthread_timedjoin_np(pthread_t pthread, void **thread_return,
lib/libthr/thread/thr_join.c
84
_pthread_peekjoin_np(pthread_t pthread, void **thread_return)
lib/libthr/thread/thr_join.c
90
_pthread_tryjoin_np(pthread_t pthread, void **thread_return)
lib/libthr/thread/thr_kill.c
44
_Tthr_kill(pthread_t pthread, int sig)
lib/libthr/thread/thr_private.h
1029
int _thr_join(pthread_t, void **);
lib/libthr/thread/thr_private.h
1030
int _Tthr_kill(pthread_t, int);
lib/libthr/thread/thr_private.h
1040
int _thr_cancel(pthread_t);
lib/libthr/thread/thr_private.h
1043
int _thr_attr_get_np(pthread_t, pthread_attr_t *);
lib/libthr/thread/thr_private.h
1076
int _thr_detach(pthread_t);
lib/libthr/thread/thr_private.h
1077
int _thr_equal(pthread_t, pthread_t);
lib/libthr/thread/thr_private.h
1079
int _thr_getname_np(pthread_t, char *, size_t);
lib/libthr/thread/thr_private.h
1086
pthread_t _Tthr_self(void);
lib/libthr/thread/thr_private.h
1111
int _Tthr_sigqueue(pthread_t pthread, int sig, const union sigval value);
lib/libthr/thread/thr_resume_np.c
48
_pthread_resume_np(pthread_t thread)
lib/libthr/thread/thr_self.c
41
pthread_t
lib/libthr/thread/thr_setprio.c
41
_pthread_setprio(pthread_t pthread, int prio)
lib/libthr/thread/thr_setschedparam.c
50
_pthread_setschedparam(pthread_t pthread, int policy,
lib/libthr/thread/thr_sigqueue.c
49
_Tthr_sigqueue(pthread_t pthread, int sig, const union sigval value)
lib/libthr/thread/thr_suspend_np.c
49
_pthread_suspend_np(pthread_t thread)
lib/libthr/thread/thr_switch_np.c
46
typedef void (*pthread_switch_routine_t)(pthread_t, pthread_t);
lib/libusb/libusb10.c
324
pthread_t td;
lib/libusb/libusb10.h
107
pthread_t hotplug_handler;
lib/libusb/libusb10.h
108
pthread_t ctx_handler;
lib/libusb/libusb10.h
109
#define NO_THREAD ((pthread_t)-1)
sbin/ggate/ggatec/ggatec.c
73
static pthread_t sendtd, recvtd;
sbin/ggate/ggated/ggated.c
600
pthread_t td;
sbin/hastd/primary.c
965
pthread_t td;
sbin/hastd/secondary.c
414
pthread_t td;
sys/dev/enic/enic.h
223
pthread_t err_intr_thread;
tests/sys/capsicum/capmode.cc
591
pthread_t early_thread;
tests/sys/capsicum/capmode.cc
670
pthread_t child_thread;
tests/sys/capsicum/capmode.cc
686
pthread_t child_thread2;
tests/sys/capsicum/capsicum-test.h
37
pthread_t subthread;
tests/sys/capsicum/capsicum-test.h
49
pthread_t subthread;
tests/sys/capsicum/procdesc.cc
240
pthread_t child_subthread;
tests/sys/capsicum/procdesc.cc
273
pthread_t child_thread;
tests/sys/cddl/zfs/bin/mmapwrite.c
72
pthread_t pt;
tests/sys/cddl/zfs/bin/rm_lnkcnt_zero_file.c
110
pthread_t tid;
tests/sys/cddl/zfs/tests/threadsappend/threadsappend.c
85
pthread_t threads[2];
tests/sys/cddl/zfs/tests/txg_integrity/fsync_integrity.c
418
pthread_t threads[NUM_THREADS];
tests/sys/cddl/zfs/tests/txg_integrity/txg_integrity.c
481
pthread_t leader_th, follower_th;
tests/sys/file/flock_helper.c
1450
pthread_t thr[THREADS];
tests/sys/file/newfileops_on_fork_test.c
103
pthread_t accept_thread;
tests/sys/fs/fusefs/destroy.cc
156
pthread_t th0, th1;
tests/sys/fs/fusefs/dev_fuse_poll.cc
116
pthread_t th0, th1, th2;
tests/sys/fs/fusefs/fifo.cc
50
pthread_t m_child;
tests/sys/fs/fusefs/interrupt.cc
148
void setup_interruptor(pthread_t target, bool sleep = false)
tests/sys/fs/fusefs/interrupt.cc
228
pthread_t self;
tests/sys/fs/fusefs/interrupt.cc
287
pthread_t self, th0;
tests/sys/fs/fusefs/interrupt.cc
371
pthread_t self;
tests/sys/fs/fusefs/interrupt.cc
410
pthread_t self, th0, th1;
tests/sys/fs/fusefs/interrupt.cc
485
pthread_t self, th0;
tests/sys/fs/fusefs/interrupt.cc
552
pthread_t self;
tests/sys/fs/fusefs/interrupt.cc
588
pthread_t self;
tests/sys/fs/fusefs/interrupt.cc
627
pthread_t self;
tests/sys/fs/fusefs/interrupt.cc
674
pthread_t th0;
tests/sys/fs/fusefs/interrupt.cc
757
pthread_t self;
tests/sys/fs/fusefs/interrupt.cc
77
pthread_kill((pthread_t)target, SIGUSR2);
tests/sys/fs/fusefs/interrupt.cc
86
pthread_t m_child;
tests/sys/fs/fusefs/last_local_modify.cc
224
pthread_t th0;
tests/sys/fs/fusefs/last_local_modify.cc
378
pthread_t th0;
tests/sys/fs/fusefs/mockfs.hh
289
pthread_t m_daemon_id;
tests/sys/fs/fusefs/notify.cc
169
pthread_t th0;
tests/sys/fs/fusefs/notify.cc
193
pthread_t th0;
tests/sys/fs/fusefs/notify.cc
233
pthread_t th0;
tests/sys/fs/fusefs/notify.cc
277
pthread_t th0;
tests/sys/fs/fusefs/notify.cc
317
pthread_t th0;
tests/sys/fs/fusefs/notify.cc
342
pthread_t th0;
tests/sys/fs/fusefs/notify.cc
423
pthread_t th0;
tests/sys/fs/fusefs/notify.cc
446
pthread_t th0;
tests/sys/fs/fusefs/notify.cc
484
pthread_t th0;
tests/sys/fs/fusefs/notify.cc
527
pthread_t th0;
tests/sys/fs/fusefs/pre-init.cc
84
pthread_t th1;
tests/sys/fs/fusefs/rename.cc
195
pthread_t th0;
tests/sys/fs/fusefs/statfs.cc
99
pthread_t th0;
tests/sys/fs/fusefs/xattr.cc
165
pthread_t m_killer_th;
tests/sys/kern/fdgrowtable_test.c
173
pthread_t thread;
tests/sys/kern/kcov.c
197
pthread_t thread;
tests/sys/kern/kcov.c
366
pthread_t thread;
tests/sys/kern/kcov.c
441
pthread_t thread;
tests/sys/kern/listener_wakeup.c
225
pthread_t tid;
tests/sys/kern/ptrace_test.c
1233
pthread_t thread;
tests/sys/kern/ptrace_test.c
1398
pthread_t thread;
tests/sys/kern/ptrace_test.c
2001
pthread_t t;
tests/sys/kern/ptrace_test.c
2100
pthread_t t;
tests/sys/kern/ptrace_test.c
3081
pthread_t t;
tests/sys/kern/ptrace_test.c
3283
pthread_t t;
tests/sys/kern/ptrace_test.c
3514
pthread_t t[2];
tests/sys/kern/ptrace_test.c
3772
pthread_t threads[2];
tests/sys/kern/sendfile_helper.c
133
pthread_t pt;
tests/sys/kern/shutdown_dgram.c
71
pthread_t t;
tests/sys/kern/socket_msg_waitall.c
67
pthread_t t;
tests/sys/kern/socket_splice.c
879
pthread_t thread[2];
tests/sys/kern/ssl_sendfile.c
58
pthread_t thr; /* server thread */
tests/sys/kern/timerfd.c
1258
pthread_t clock_changer;
tests/sys/kern/unix_seqpacket_test.c
1228
pthread_t t;
tests/sys/kern/unix_seqpacket_test.c
1363
pthread_t peeker, writer;
tests/sys/kern/unix_seqpacket_test.c
363
pthread_t writer, reader;
tests/sys/kern/unix_stream.c
208
static pthread_t
tests/sys/kern/unix_stream.c
211
pthread_t thr;
tests/sys/kern/unix_stream.c
227
pthread_t thr;
tests/sys/kern/unix_stream.c
429
pthread_t thr;
tests/sys/netinet/so_reuseport_lb_test.c
318
pthread_t threads[4];
tests/sys/netinet/udp_bindings.c
124
pthread_t tid;
tests/sys/netmap/ctrl-api-test.c
1378
pthread_t th;
tests/sys/netmap/ctrl-api-test.c
1602
pthread_t th1, th2;
tools/regression/gaithrstress/gaithrstress.c
45
pthread_t w_thread; /* self */
tools/regression/pthread/cv_cancel1/cv_cancel1.c
55
pthread_t td;
tools/regression/pthread/mutex_isowned_np/mutex_isowned_np.c
49
pthread_t thr;
tools/regression/pthread/unwind/catch_pthread_exit.cpp
25
pthread_t td;
tools/regression/pthread/unwind/cond_wait_cancel.cpp
28
pthread_t td;
tools/regression/pthread/unwind/cond_wait_cancel2.cpp
45
pthread_t td;
tools/regression/pthread/unwind/sem_wait_cancel.cpp
25
pthread_t td;
tools/regression/pthread/unwind/thread_normal_exit.cpp
21
pthread_t td;
tools/regression/tls/ttls2/ttls2.c
33
pthread_t t1, t2;
tools/regression/tls/ttls4/ttls4.c
29
pthread_t td;
tools/test/buf_ring/buf_ring_test.c
221
pthread_t *prod;
tools/test/buf_ring/buf_ring_test.c
222
pthread_t cons[2];
tools/test/pthread_vfork/pthread_vfork_test.c
74
pthread_t threads[NUM_THREADS];
tools/test/stress2/testcases/thr1/thr1.c
62
pthread_t threads[NTHREADS];
tools/test/stress2/testcases/thr2/thr2.c
71
pthread_t threads[NTHREADS];
tools/test/xregs_sig/xregs_sig.c
241
pthread_t wt[ncpu];
tools/tools/mctest/mctest.cc
364
pthread_t thread[clients];
tools/tools/netmap/lb.c
708
pthread_t stat_thread;
tools/tools/netmap/nmreplay.c
628
pthread_t cons_tid; /* main thread */
tools/tools/netmap/nmreplay.c
629
pthread_t prod_tid; /* producer thread */
tools/tools/netmap/pkt-gen.c
339
pthread_t thread;
tools/tools/netmap/pkt-gen.c
715
setaffinity(pthread_t me, int i)
tools/tools/netrate/http/http.c
63
pthread_t hwd_thread;
tools/tools/netrate/httpd/httpd.c
78
pthread_t hts_thread; /* Multi-thread. */
tools/tools/netrate/juggle/juggle.c
318
pthread_t thread;
tools/tools/netrate/netreceive/netreceive.c
58
pthread_t td_id;
tools/tools/nvmf/nvmfd/discovery.c
289
pthread_t thr;
tools/tools/nvmf/nvmfd/io.c
667
pthread_t thr;
tools/tools/syscall_timing/syscall_timing.c
546
pthread_t td;
tools/tools/tscdrift/tscdrift.c
93
pthread_t child;
usr.bin/mkuzip/mkuz_conveyor.c
111
(sizeof(pthread_t) * cfp->nworkers));
usr.bin/mkuzip/mkuz_conveyor.h
45
pthread_t wthreads[];
usr.bin/sort/file.c
1448
pthread_t pth;
usr.bin/sort/radixsort.c
642
pthread_t pth;
usr.sbin/bhyve/bhyverun.c
573
pthread_t thr;
usr.sbin/bhyve/block_if.c
107
pthread_t bc_btid[BLOCKIF_NUMTHR];
usr.sbin/bhyve/block_if.c
179
blockif_dequeue(struct blockif_ctxt *bc, pthread_t t, struct blockif_elem **bep)
usr.sbin/bhyve/block_if.c
376
pthread_t t;
usr.sbin/bhyve/block_if.c
90
pthread_t be_tid;
usr.sbin/bhyve/hda_codec.c
148
pthread_t tid;
usr.sbin/bhyve/mevent.c
63
static pthread_t mevent_tid;
usr.sbin/bhyve/mevent_test.c
194
pthread_t tid;
usr.sbin/bhyve/mevent_test.c
250
pthread_t tid;
usr.sbin/bhyve/pci_e82545.c
278
pthread_t esc_tx_tid;
usr.sbin/bhyve/pci_nvme.c
365
pthread_t aen_tid;
usr.sbin/bhyve/pci_virtio_net.c
119
pthread_t tx_tid;
usr.sbin/bhyve/pci_virtio_scsi.c
150
pthread_t vsw_thread;
usr.sbin/bhyve/rfb.c
1056
pthread_t tid;
usr.sbin/bhyve/rfb.c
117
pthread_t tid;
usr.sbin/bhyve/snapshot.c
1407
pthread_t checkpoint_pthread;
usr.sbin/bhyve/snapshot.c
664
pthread_t spinner_th;
usr.sbin/bhyve/tpm_intf_crb.c
182
pthread_t thread;
usr.sbin/camdd/camdd.c
3203
pthread_t threads[2];
usr.sbin/ngctl/main.c
327
pthread_t monitor;
usr.sbin/nscd/nscd.c
596
pthread_t *threads;
usr.sbin/pppctl/pppctl.c
378
pthread_t mon;
usr.sbin/pppctl/pppctl.c
57
pthread_t trm; /* Terminal thread (for pthread_kill()) */
usr.sbin/rpc.tlsservd/rpc.tlsservd.c
143
pthread_t tid;
usr.sbin/rpc.tlsservd/rpc.tlsservd.c
363
pthread_t tid;
usr.sbin/virtual_oss/virtual_oss/httpd.c
782
pthread_t td;
usr.sbin/virtual_oss/virtual_oss/main.c
1642
static pthread_t *voss_tds;
usr.sbin/virtual_oss/virtual_oss/main.c
2485
voss_tds = malloc(voss_ntds * sizeof(pthread_t));