Symbol: pthread_self
distrib/special/libstubs/pthread_once.c
43
DEF_STRONG(pthread_self);
include/pthread.h
254
pthread_t pthread_self(void);
lib/libc/hidden/pthread.h
46
PROTO_NORMAL(pthread_self);
lib/libc/thread/rthread.c
252
pthread_t self = pthread_self();
lib/libc/thread/rthread.c
270
pthread_t self = pthread_self();
lib/libc/thread/rthread.c
285
assert(rcmtx->owner == pthread_self());
lib/libc/thread/rthread.c
341
DEF_STRONG(pthread_self);
lib/libc/thread/rthread.c
348
pthread_t thread = pthread_self();
lib/libc/thread/rthread_cond.c
180
_rthread_debug(5, "%p: cond_signal %p, %d awaken\n", pthread_self(),
lib/libc/thread/rthread_cond.c
204
_rthread_debug(5, "%p: cond_broadcast %p, %d awaken\n", pthread_self(),
lib/libc/thread/rthread_file.c
165
p->owner = pthread_self();
lib/libc/thread/rthread_file.c
177
pthread_t self = pthread_self();
lib/libc/thread/rthread_file.c
241
} else if (p->owner == pthread_self()) {
lib/libc/thread/rthread_file.c
281
if ((p = find_lock(idx, fp)) != NULL && p->owner == pthread_self()) {
lib/libc/thread/rthread_libc.c
114
if (pthread_self() == &_initial_thread)
lib/libc/thread/rthread_mutex.c
139
pthread_t self = pthread_self();
lib/libc/thread/rthread_mutex.c
229
pthread_t self = pthread_self();
lib/libc/thread/rthread_mutex.c
99
pthread_t self = pthread_self();
lib/libc/thread/rthread_sync.c
192
pthread_t self = pthread_self();
lib/libc/thread/rthread_sync.c
594
_rthread_debug(5, "%p: cond_signal %p,%p\n", (void *)pthread_self(),
lib/libc/thread/rthread_sync.c
643
_rthread_debug(5, "%p: cond_broadcast %p,%p\n", (void *)pthread_self(),
lib/libc/thread/rthread_sync.c
91
pthread_t self = pthread_self();
lib/libc/thread/rthread_tls.c
109
self = pthread_self();
lib/libcrypto/crypto_init.c
73
crypto_init_thread = pthread_self();
lib/libcrypto/crypto_init.c
86
if (pthread_equal(pthread_self(), crypto_init_thread))
lib/libcrypto/crypto_legacy.c
164
return (unsigned long)pthread_self();
lib/libcrypto/err/err.c
553
tmp.tid = pthread_self();
lib/libcrypto/err/err.c
561
ret->tid = pthread_self();
lib/libcrypto/err/err.c
673
err_init_thread = pthread_self();
lib/libcrypto/err/err.c
688
if (pthread_equal(pthread_self(), err_init_thread))
lib/libcrypto/err/err.c
751
tmp.tid = pthread_self();
lib/libcrypto/err/err_prn.c
81
es = (unsigned long)pthread_self();
lib/libcrypto/rsa/rsa_blinding.c
161
ret->tid = pthread_self();
lib/libcrypto/rsa/rsa_blinding.c
261
return pthread_equal(pthread_self(), b->tid) != 0;
lib/libcurses/curses.priv.h
619
(unsigned long) (pthread_self()), \
lib/libcurses/curses.priv.h
665
weak_symbol(pthread_self);
lib/libcurses/curses.priv.h
676
# define GetThreadID() (((pthread_self)) ? pthread_self() : (pthread_t) getpid())
lib/libcurses/curses.priv.h
678
# define GetThreadID() pthread_self()
lib/libcurses/curses.priv.h
694
weak_symbol(pthread_self);
lib/libcurses/trace/lib_trace.c
271
if ((pthread_self))
lib/libcurses/trace/lib_trace.c
275
CASTxPTR(pthread_self().p)
lib/libcurses/trace/lib_trace.c
277
CASTxPTR(pthread_self())
lib/libcurses/tty/lib_tstp.c
295
if ((pthread_self) && (pthread_kill) && (pthread_equal))
lib/libcurses/tty/lib_tstp.c
297
_nc_globals.read_thread = pthread_self();
lib/libcurses/tty/lib_tstp.c
313
if (!pthread_equal(pthread_self(), _nc_globals.read_thread))
lib/librthread/rthread.c
199
pthread_t thread = pthread_self();
lib/librthread/rthread.c
375
pthread_t self = pthread_self();
lib/librthread/rthread.c
510
pthread_t self = pthread_self();
lib/librthread/rthread.c
525
pthread_t self = pthread_self();
lib/librthread/rthread.c
584
pthread_t self = pthread_self();
lib/librthread/rthread_fork.c
64
me = pthread_self();
lib/librthread/rthread_np.c
47
if (thread != pthread_self())
lib/librthread/rthread_np.c
58
if (thread != pthread_self())
lib/librthread/rthread_rwlock.c
118
pthread_t self = pthread_self();
lib/librthread/rthread_rwlock.c
195
pthread_t self = pthread_self();
lib/librthread/rthread_rwlock.c
259
pthread_t self = pthread_self();
lib/librthread/rthread_rwlock_compat.c
157
pthread_t thread = pthread_self();
lib/librthread/rthread_rwlock_compat.c
222
pthread_t thread = pthread_self();
lib/librthread/rthread_rwlock_compat.c
98
pthread_t thread = pthread_self();
lib/librthread/rthread_spin_lock.c
101
pthread_t self = pthread_self();
lib/librthread/rthread_spin_lock.c
62
pthread_t self = pthread_self();
lib/librthread/rthread_spin_lock.c
82
pthread_t self = pthread_self();
lib/libssl/ssl_init.c
39
ssl_init_thread = pthread_self();
lib/libssl/ssl_init.c
48
if (pthread_equal(pthread_self(), ssl_init_thread))
regress/lib/libc/stdio_threading/include/local.h
54
self = pthread_self();
regress/lib/libpthread/blocked_join/blocked_join.c
32
pthread_t d, t, self = pthread_self();
regress/lib/libpthread/cancel/cancel.c
143
pthread_cancel(pthread_self());
regress/lib/libpthread/cancel/cancel.c
171
pthread_cancel(pthread_self());
regress/lib/libpthread/errno/errno.c
105
ASSERT(pthread_equal(t1_tid, pthread_self()));
regress/lib/libpthread/errno/errno.c
122
main_tid = pthread_self();
regress/lib/libpthread/errno/errno.c
165
ASSERT(pthread_equal(main_tid, pthread_self()));
regress/lib/libpthread/errno/errno.c
174
ASSERT(pthread_equal(main_tid, pthread_self()));
regress/lib/libpthread/errno/errno.c
183
ASSERT(pthread_equal(main_tid, pthread_self()));
regress/lib/libpthread/errno/errno.c
189
ASSERT(pthread_equal(main_tid, pthread_self()));
regress/lib/libpthread/errno/errno.c
65
ASSERT(pthread_equal(t1_tid, pthread_self()));
regress/lib/libpthread/errno/errno.c
70
ASSERT(pthread_equal(t1_tid, pthread_self()));
regress/lib/libpthread/errno/errno.c
76
ASSERT(pthread_equal(t2_tid, pthread_self()));
regress/lib/libpthread/errno/errno.c
94
t1_tid = pthread_self();
regress/lib/libpthread/fork/fork.c
55
pthread_set_name_np(pthread_self(), "slpr");
regress/lib/libpthread/getaddrinfo/getaddrinfo.c
76
printf("Starting thread %p\n", pthread_self());
regress/lib/libpthread/getaddrinfo/getaddrinfo.c
80
printf("error on thread %p\n", pthread_self());
regress/lib/libpthread/getaddrinfo/getaddrinfo.c
85
pthread_self(), res->ai_canonname, h);
regress/lib/libpthread/include/test.h
26
#define SET_NAME(x) pthread_set_name_np(pthread_self(), x)
regress/lib/libpthread/pthread_once/pthread_once.c
22
CHECKr(pthread_cancel(pthread_self()));
regress/lib/libpthread/pthread_rwlock2/pthread_rwlock2.c
40
pthread_t self = pthread_self();
regress/lib/libpthread/pthread_rwlock2/pthread_rwlock2.c
55
pthread_t self = pthread_self();
regress/lib/libpthread/pthread_rwlock2/pthread_rwlock2.c
70
pthread_t self = pthread_self();
regress/lib/libpthread/pthread_specific/pthread_specific.c
53
CHECKr(pthread_setspecific(key, pthread_self()));
regress/lib/libpthread/pthread_specific/pthread_specific.c
55
ASSERT(p == pthread_self());
regress/lib/libpthread/sigsuspend/sigsuspend.c
115
self = pthread_self ();
regress/lib/libpthread/sigwait/sigwait.c
59
printf("Sigwait waiting (thread %p)\n", pthread_self());
regress/lib/libpthread/sigwait/sigwait.c
82
signo, strsignal(signo), pthread_self());
regress/sys/kern/signal/sig-stop2/sig-stop2.c
72
self = pthread_self();
regress/sys/kern/signal/sigprof/sigprof.c
53
self = pthread_self();
regress/sys/kern/signal/sigprof/sigprof.c
85
threads[0] = pthread_self();
regress/sys/kern/signal/sigpthread/sigpthread.c
175
threads[0] = pthread_self();
regress/sys/kern/signal/sigpthread/sigpthread.c
228
tid = pthread_self();
sbin/unwind/libunbound/util/locks.h
173
#define ub_thread_self() pthread_self()
usr.sbin/unbound/testcode/checklocks.c
732
thr->id = pthread_self();
usr.sbin/unbound/testcode/checklocks.h
356
#define ub_thread_self() pthread_self()
usr.sbin/unbound/util/locks.h
173
#define ub_thread_self() pthread_self()