Searched defs:self (Results 1 - 2 of 2) sorted by relevance

/system/extras/tests/bionic/libc/common/
H A Dtest_pthread_getcpuclockid.c41 pthread_t self = pthread_self(); local
48 e = pthread_getcpuclockid( self, &clock );
50 fprintf(stderr, "pthread_getcpuclockid(%08lx,) returned error %d: %s\n", self, e, strerror(e));
60 fprintf(stderr, "thread %08lx: clock_gettime() returned %g nsecs\n", self, ts.tv_sec*1e9 + ts.tv_nsec);
/system/core/libutils/
H A DThreads.cpp138 // prctl(PR_SET_NAME) only works for self; prctl(PR_SET_THREAD_NAME) was
736 Thread* const self = static_cast<Thread*>(user); local
738 sp<Thread> strong(self->mHoldSelf);
740 self->mHoldSelf.clear();
744 self->mTid = gettid();
753 self->mStatus = self->readyToRun();
754 result = (self->mStatus == NO_ERROR);
756 if (result && !self->exitPending()) {
767 result = self
[all...]

Completed in 4456 milliseconds