pthread_self
|| &pthread_self == 0
return pthread_equal(*(pthread_t *)thread->handle, pthread_self());
return pthread_self();
pthread_t pthread_self(void);
STUB_FUNC(pthread_self, PJT_SELF, pthread_t)
pthread_t curr = pthread_self();
pthread_t curr = pthread_self();
return (pthread_self());
self = pthread_self();
__weak_reference(_Tthr_self, pthread_self);
ctx->ctx_handler = pthread_self();
ctx->ctx_handler = pthread_self();
if (ctx->ctx_handler == pthread_self()) {
return (ctx->ctx_handler == pthread_self());
ctx->ctx_handler = pthread_self();
ctx->ctx_handler = pthread_self();
sendtd = pthread_self();
self = pthread_self();
self = pthread_self();
self = pthread_self();
self = pthread_self();
self = pthread_self();
self = pthread_self();
self = pthread_self();
self = pthread_self();
printf("Signaled! thread %p\n", pthread_self());
self = pthread_self();
CHILD_REQUIRE(pthread_setschedparam(pthread_self(),
CHILD_REQUIRE(pthread_setschedparam(pthread_self(),
printf("thread %p, &i = %p\n", pthread_self(), &i);
printf("thread %p, i = %d\n", pthread_self(), i);
printf("thread %p, &i = %p\n", pthread_self(), &i);
printf("thread %p, i = %d\n", pthread_self(), i);
if (pthread_setaffinity_np(pthread_self(), sizeof(cpuset_t), &cpumask) != 0) {
(void *)pthread_self());
(void *)pthread_self());
D("received control-C on thread %p", (void *)pthread_self());
pthread_detach(pthread_self());
pthread_setname_np(pthread_self(), "admin queue");
pthread_setname_np(pthread_self(), name);
pthread_detach(pthread_self());
pthread_set_name_np(pthread_self(), tname);
error = pthread_setaffinity_np(pthread_self(),
t = pthread_self();
if (mevent_pipefd[1] != 0 && pthread_self() != mevent_tid) {
mevent_tid = pthread_self();
pthread_set_name_np(pthread_self(), "checkpoint thread");
pthread_detach(pthread_self());