/external/skia/src/core/ |
SkThreadID.cpp | 15 SkThreadID SkGetThreadID() { return (int64_t)pthread_self(); }
|
/external/compiler-rt/test/msan/ |
pthread_getattr_np_deadlock.cc | 10 int res = pthread_getattr_np(pthread_self(), &attr);
|
/frameworks/wilhelm/src/android/ |
CallbackProtector.cpp | 67 mCallbackThread = pthread_self(); 75 (void *) pthread_self(), gettid(), 115 mRequesterThread = pthread_self(); 123 (void *) pthread_self(), gettid()); 136 mRequesterThread = pthread_self(); 144 (void *) pthread_self(), gettid());
|
/frameworks/wilhelm/src/itf/ |
IThreadSync.c | 30 if (!pthread_equal(thiz->mOwner, pthread_self())) { 40 thiz->mOwner = pthread_self(); 56 if (!thiz->mInCriticalSection || !pthread_equal(thiz->mOwner, pthread_self())) {
|
/prebuilts/go/darwin-x86/misc/cgo/test/ |
issue5337.go | 15 pthread_kill(pthread_self(), SIGPROF);
|
/prebuilts/go/linux-x86/misc/cgo/test/ |
issue5337.go | 15 pthread_kill(pthread_self(), SIGPROF);
|
/external/valgrind/memcheck/tests/ |
threadname.c | 30 pthread_setname_np(pthread_self(), threadname); 46 pthread_setname_np(pthread_self(), threadname);
|
/frameworks/base/libs/hwui/ |
GpuMemoryTracker.h | 28 !pthread_equal(gGpuThread, pthread_self()), \ 31 pthread_self(), gGpuThread)
|
/external/avahi/avahi-common/ |
thread-watch.c | 111 assert(!p->thread_running || !pthread_equal(pthread_self(), p->thread_id)); 149 assert(!pthread_equal(pthread_self(), p->thread_id)); 165 assert(pthread_equal(pthread_self(), p->thread_id)); 174 assert(!p->thread_running || !pthread_equal(pthread_self(), p->thread_id)); 183 assert(!p->thread_running || !pthread_equal(pthread_self(), p->thread_id));
|
/external/compiler-rt/lib/tsan/rtl/ |
tsan_platform_mac.cc | 69 // shadow memory of the pointer returned by pthread_self() to store a pointer to 78 uptr thread_identity = (uptr)pthread_self(); 93 uptr thread_identity = (uptr)pthread_self(); 118 // The `thread == pthread_self()` check indicates this is actually a worker 132 if (thread == pthread_self()) { 141 if (thread == pthread_self()) { 163 main_thread_identity = (uptr)pthread_self();
|
/external/libchrome/base/threading/ |
platform_thread_posix.cc | 131 return pthread_mach_thread_np(pthread_self()); 137 return pthread_self(); 139 return pthread_self(); 142 return reinterpret_cast<int32_t>(pthread_self()); 144 return reinterpret_cast<int64_t>(pthread_self()); 150 return PlatformThreadRef(pthread_self()); 155 return PlatformThreadHandle(pthread_self());
|
platform_thread_linux.cc | 52 pthread_setschedparam(pthread_self(), SCHED_OTHER, &kResetPrio); 56 pthread_setschedparam(pthread_self(), SCHED_RR, &kRealTimePrio) == 0; 66 if (pthread_getschedparam(pthread_self(), &maybe_sched_rr,
|
/external/ImageMagick/MagickCore/ |
thread-private.h | 63 return(pthread_self()); 85 magick_thread.id=pthread_self(); 98 if (pthread_equal(id,pthread_self()) != 0)
|
/external/compiler-rt/test/tsan/ |
thread_name.cc | 27 pthread_setname_np(pthread_self(), "Thread2");
|
thread_name2.cc | 21 pthread_setname_np(pthread_self(), "foobar2");
|
signal_errno.cc | 37 mainth = pthread_self();
|
/external/fio/os/ |
os-openbsd.h | 53 return (int) pthread_self();
|
/external/webrtc/webrtc/base/ |
criticalsection.cc | 47 thread_ = pthread_self(); 65 thread_ = pthread_self(); 99 return pthread_equal(thread_, pthread_self());
|
/external/compiler-rt/lib/asan/ |
asan_mac.cc | 130 "context: %p, pthread_self: %p\n", 131 block, pthread_self()); 163 Report(#dispatch_x_f "(): context: %p, pthread_self: %p\n", \ 164 asan_ctxt, pthread_self()); \ 194 Report("dispatch_group_async_f(): context: %p, pthread_self: %p\n", 195 asan_ctxt, pthread_self());
|
/external/valgrind/drd/tests/ |
pth_barrier.c | 53 printf("thread %lx iteration 0\n", (long) pthread_self()); 59 (long) pthread_self(), i + 1, &array[i]);
|
/frameworks/wilhelm/src/ |
locks.c | 82 pthread_t me = pthread_self(); 102 pthread_t me = pthread_self(); 105 if (pthread_equal(pthread_self(), owner)) { 116 thiz->mOwner = pthread_self(); 137 assert(pthread_equal(pthread_self(), thiz->mOwner)); 170 assert(pthread_equal(pthread_self(), thiz->mOwner)); 291 assert(pthread_equal(pthread_self(), thiz->mOwner)); 302 thiz->mOwner = pthread_self();
|
/bionic/libc/bionic/ |
pthread_self.cpp | 31 pthread_t pthread_self() { function
|
raise.cpp | 34 int rc = pthread_kill(pthread_self(), sig);
|
/external/valgrind/helgrind/tests/ |
tc22_exit_w_lock.c | 28 r= pthread_detach( pthread_self() ); assert(!r);
|
/external/valgrind/none/tests/ |
pth_blockedsig.c | 49 main_thread = pthread_self ();
|