/bionic/libc/bionic/ |
pthread_self.cpp | 31 pthread_t pthread_self() { function
|
raise.cpp | 32 int rc = pthread_kill(pthread_self(), sig);
|
fork.c | 53 __pthread_settid(pthread_self(), gettid());
|
pthread_join.cpp | 34 if (t == pthread_self()) {
|
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/ |
errno.c | 77 if ((self = pthread_self ()).p == NULL)
|
pthread_mutex_trylock.c | 80 mx->ownerThread = pthread_self (); 86 pthread_equal (mx->ownerThread, pthread_self ())) 114 self = pthread_self(); 131 pthread_equal (mx->ownerThread, pthread_self ()))
|
pthread_testcancel.c | 72 pthread_t self = pthread_self ();
|
pthread_mutex_unlock.c | 87 if (pthread_equal (mx->ownerThread, pthread_self())) 114 pthread_t self = pthread_self();
|
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/base/ |
thread_checker.h | 43 ThreadChecker() : thread_id_(pthread_self()) {} 46 return thread_id_ == pthread_self();
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/macosx/ |
SDLOSXCAGuard.c | 98 if(pthread_self() != cag->mOwner) 103 cag->mOwner = pthread_self(); 113 assert(pthread_self() == cag->mOwner); 126 if (pthread_self() == cag->mOwner) { 132 cag->mOwner = pthread_self(); 144 assert(pthread_self() == cag->mOwner); 151 cag->mOwner = pthread_self();
|
/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())) {
|
/external/chromium_org/base/threading/ |
platform_thread_posix.cc | 72 *(thread_params->handle) = PlatformThreadHandle(pthread_self(), 148 return pthread_mach_thread_np(pthread_self()); 154 return pthread_self(); 156 return pthread_self(); 159 return reinterpret_cast<int32>(pthread_self()); 161 return reinterpret_cast<int64>(pthread_self()); 167 return PlatformThreadHandle(pthread_self(), CurrentId());
|
/external/chromium_org/third_party/sqlite/src/src/ |
mutex_unix.c | 74 return (p->nRef!=0 && pthread_equal(p->owner, pthread_self())); 77 return p->nRef==0 || pthread_equal(p->owner, pthread_self())==0; 223 pthread_t self = pthread_self(); 239 p->owner = pthread_self(); 266 pthread_t self = pthread_self(); 284 p->owner = pthread_self();
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
criticalsection.h | 106 TRACK_OWNER(thread_ = pthread_self()); 110 TRACK_OWNER(thread_ = pthread_self()); 121 bool CurrentThreadIsOwner() const { return pthread_equal(thread_, pthread_self()); }
|
/external/chromium_org/third_party/skia/src/utils/ |
SkThreadUtils_pthread_linux.cpp | 36 if (0 != pthread_getaffinity_np(pthread_self(), sizeof(cpu_set_t), &parentCpuset)) {
|
/external/compiler-rt/lib/tsan/lit_tests/ |
signal_errno.cc | 24 mainth = pthread_self();
|
thread_name.cc | 19 pthread_setname_np(pthread_self(), "Thread2");
|
/external/skia/src/utils/ |
SkThreadUtils_pthread_linux.cpp | 36 if (0 != pthread_getaffinity_np(pthread_self(), sizeof(cpu_set_t), &parentCpuset)) {
|
/external/valgrind/main/drd/tests/ |
monitor_example.cpp | 107 m_owner = pthread_self(); 119 assert(m_owner == pthread_self()); 123 m_owner = pthread_self(); 139 result = m_recursion_count > 0 && m_owner == pthread_self();
|
/external/chromium/third_party/libjingle/source/talk/base/ |
criticalsection.h | 97 TRACK_OWNER(thread_ = pthread_self()); 105 bool CurrentThreadIsOwner() const { return pthread_equal(thread_, pthread_self()); }
|
/external/chromium_org/rlz/lib/ |
recursive_cross_process_lock_posix.cc | 26 if (pthread_equal(pthread_self(), locking_thread_) == 0) { 36 locking_thread_ = pthread_self();
|
/external/qemu/distrib/sdl-1.2.15/src/thread/pthread/ |
SDL_sysmutex.c | 91 this_thread = pthread_self(); 128 if ( pthread_self() == mutex->owner ) {
|
/external/qemu/distrib/sdl-1.2.15/src/thread/riscos/ |
SDL_sysmutex.c | 90 this_thread = pthread_self(); 127 if ( pthread_self() == mutex->owner ) {
|
/frameworks/wilhelm/src/ |
locks.c | 69 pthread_t me = pthread_self(); 89 pthread_t me = pthread_self(); 92 if (pthread_equal(pthread_self(), owner)) { 103 thiz->mOwner = pthread_self(); 124 assert(pthread_equal(pthread_self(), thiz->mOwner)); 157 assert(pthread_equal(pthread_self(), thiz->mOwner)); 278 assert(pthread_equal(pthread_self(), thiz->mOwner)); 289 thiz->mOwner = pthread_self();
|