HomeSort by: relevance | last modified time | path
    Searched refs:pthread_self (Results 1 - 25 of 42) sorted by relevancy

1 2

  /src/tests/lib/libc/setjmp/
t_threadjmp.c 96 ATF_REQUIRE(myself == pthread_self());
110 myself = pthread_self();
127 ATF_REQUIRE(myself == pthread_self());
137 ATF_REQUIRE(myself == pthread_self());
141 ATF_REQUIRE(myself == pthread_self());
145 ATF_REQUIRE(myself == pthread_self());
162 "Checks pthread_self() and setjmp(3)");
173 "Checks pthread_self() and _setjmp(3)");
184 "Checks pthread_self() and sigsetjmp(3) with savemask enabled");
195 "Checks pthread_self() and sigsetjmp(3) with savemask disabled")
    [all...]
  /src/regress/sys/kern/select/
select.c 69 printf("[%p] write %d\n", (void *)pthread_self(), fd);
118 printf("[%p] select start to=%lu\n", (void *)pthread_self(),
124 (void *)pthread_self(), ret);
132 (void *)pthread_self(), ret);
138 (void *)pthread_self(), ret);
148 (void *)pthread_self(), fd);
152 (void *)pthread_self());
169 (void *)pthread_self(), ret, nfd);
  /src/tests/lib/libpthread/
h_cancel.c 47 pthread_cancel(pthread_self());
t_kill.c 85 self = pthread_self();
120 mainthread = pthread_self();
130 self = pthread_self();
t_name.c 54 pthread_t self = pthread_self();
76 pthread_t thr, self = pthread_self();
t_swapcontext.c 59 nself = (void *)pthread_self();
76 oself = (void *)pthread_self();
89 "alters pthread_self()");
98 printf("Testing if swapcontext() alters pthread_self()\n");
t_join.c 79 caller = pthread_self();
156 ATF_REQUIRE(pthread_getattr_np(pthread_self(), &attr) == 0);
t_sigalarm.c 91 pthread_t self = pthread_self();
h_resolv.c 97 pthread_t self = pthread_self();
136 pthread_t self = pthread_self();
t_sigmask.c 139 thr_usr1 = pthread_self();
148 thr_usr2 = pthread_self();
t_stack.c 80 RZ(pthread_getattr_np(pthread_self(), &attr));
280 pthread_t t = pthread_self();
328 pthread_t t = pthread_self();
t_mutex.c 136 printf("2: Second thread (%p). Count is %ld\n", pthread_self(), count);
169 printf("1: Thread %p\n", pthread_self());
192 printf("2: Second thread (%p). Count is %ld\n", pthread_self(), count);
224 printf("1: Thread %p\n", pthread_self());
t_sem.c 146 pthread_t self = pthread_self();
  /src/tests/usr.bin/c++/
t_tsan_signal_errno.sh 71 mainth = pthread_self();
99 mainth = pthread_self();
133 mainth = pthread_self();
167 mainth = pthread_self();
  /src/tests/usr.bin/cc/
t_tsan_signal_errno.sh 71 mainth = pthread_self();
99 mainth = pthread_self();
133 mainth = pthread_self();
167 mainth = pthread_self();
  /src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/
tsan_platform_mac.cc 71 // shadow memory of the pointer returned by pthread_self() to store a pointer to
79 ThreadState **thread_identity = (ThreadState **)pthread_self();
194 // The `thread == pthread_self()` check indicates this is actually a worker
208 if (thread == pthread_self()) {
219 if (thread == pthread_self()) {
252 main_thread_identity = (uptr)pthread_self();
  /src/lib/libpthread/
thrd.c 100 return pthread_self();
pthread_cond.c 250 self = pthread_self();
298 self = pthread_self();
pthread.h 54 pthread_t pthread_self(void);
417 #define pthread_self __libc_thr_self macro
  /src/regress/sys/kern/latency1/
latency1.c 116 if (pthread_setschedparam(pthread_self(), SCHED_FIFO, &sp)) {
  /src/sys/external/bsd/compiler_rt/dist/lib/asan/
asan_mac.cc 199 "context: %p, pthread_self: %p\n",
200 block, pthread_self());
232 Report(#dispatch_x_f "(): context: %p, pthread_self: %p\n", \
233 asan_ctxt, pthread_self()); \
263 Report("dispatch_group_async_f(): context: %p, pthread_self: %p\n",
264 asan_ctxt, pthread_self());
  /src/regress/sys/kern/latency2/
latency2.c 130 if (pthread_setschedparam(pthread_self(), SCHED_FIFO, &sp)) {
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_rtems.cc 61 uptr GetThreadSelf() { return static_cast<uptr>(pthread_self()); }
79 CHECK_EQ(pthread_getattr_np(pthread_self(), &attr), 0);
  /src/lib/libc/thread-stub/
thread-stub.c 80 if (thread == pthread_self())
89 if (thread == pthread_self())
453 /* assert that t1=t2=pthread_self() */
  /src/sys/external/bsd/compiler_rt/dist/lib/lsan/
lsan_mac.cc 84 "context: %p, pthread_self: %p\n",
85 block, pthread_self());

Completed in 22 milliseconds

1 2