/bionic/libc/bionic/ |
pthread_equal.cpp | 31 int pthread_equal(pthread_t lhs, pthread_t rhs) { function
|
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/pthread_h/ |
7-1-buildonly.c | 10 int pthread_equal(pthread_t, pthread_t); 20 tmp = pthread_equal(a, b);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_self/ |
1-1.c | 17 * 3. Call pthread_equal and verify that the thread IDs are the same. 52 /* Call pthread_equal() and pass to it the new thread ID in both 56 if (pthread_equal(new_th1, new_th2) == 0) { 60 if (pthread_equal(new_th1, pthread_self()) != 0) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_equal/ |
1-1.c | 8 * Test that pthread_equal() 15 * 2. Call pthread_equal and pass to it the new thread in both parameters. 41 /* Call pthread_equal() and pass to it the new thread ID in both 44 if (pthread_equal(new_th, new_th) == 0) {
|
1-2.c | 8 * Test that pthread_equal() 15 * 2. Call pthread_equal and pass to it the two threads. 47 /* Call pthread_equal() and pass to it the 2 new threads. 50 if (pthread_equal(new_th1, new_th2) != 0) {
|
2-1.c | 22 * -> kill a thread which calls pthread_equal 151 /* Test function -- calls pthread_equal() and checks that EINTR is never returned. */ 168 ret = pthread_equal(me, *(pthread_t *) arg); 171 "pthread_equal failed to return the correct value"); 174 ret = pthread_equal(me, me); 176 UNRESOLVED(ret, "pthread_equal returned a bad result"); 179 FAILED("pthread_equal returned EINTR status");
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_atfork/ |
1-2.c | 139 if (!pthread_equal(ch, threads[0])) { 144 if (!pthread_equal(pthread_self(), threads[2])) { 153 if (!pthread_equal(ch, threads[0])) { 158 if (!pthread_equal(pthread_self(), threads[1])) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/ |
4-1.c | 47 if (pthread_equal(new_th, self_th) == 0) {
|
1-1.c | 45 if (pthread_equal(new_th, main_th) != 0) {
|
/frameworks/wilhelm/src/itf/ |
IThreadSync.cpp | 30 if (!pthread_equal(thiz->mOwner, pthread_self())) { 56 if (!thiz->mInCriticalSection || !pthread_equal(thiz->mOwner, pthread_self())) {
|
/frameworks/base/libs/hwui/ |
GpuMemoryTracker.h | 29 !pthread_equal(gGpuThread, pthread_self()), \
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_kill/ |
1-2.c | 91 if (!pthread_equal(pthread_self(), ch)) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigwait/ |
6-2.c | 164 if (!pthread_equal(last_awaken, ch[0])) {
|
/frameworks/wilhelm/src/ |
locks.cpp | 105 if (pthread_equal(pthread_self(), owner)) { 137 assert(pthread_equal(pthread_self(), thiz->mOwner)); 170 assert(pthread_equal(pthread_self(), thiz->mOwner)); 291 assert(pthread_equal(pthread_self(), thiz->mOwner));
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_self/ |
stress.c | 276 if (pthread_equal(creation[sc], running[sc]) == 0) { 289 if (pthread_equal(creation[sc], creation[i])) {
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/src/ |
mutex.cpp | 169 if (pthread_equal(id, __id_)) 187 if (lk.owns_lock() && (__count_ == 0 || pthread_equal(id, __id_)))
|
/external/ImageMagick/MagickCore/ |
thread-private.h | 98 if (pthread_equal(id,pthread_self()) != 0)
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_wrlock/ |
2-1.c | 49 if (pthread_equal(pthread_self(), sig_thread)) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/ |
4-1.c | 49 if (pthread_equal(pthread_self(), sig_thread)) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/ |
6-1.c | 63 if (pthread_equal(pthread_self(), sig_thread)) {
|
6-2.c | 66 if (pthread_equal(pthread_self(), sig_thread)) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/ |
6-1.c | 63 if (pthread_equal(pthread_self(), sig_thread)) {
|
6-2.c | 66 if (pthread_equal(pthread_self(), sig_thread)) {
|
/external/webrtc/webrtc/base/ |
criticalsection.cc | 99 return pthread_equal(thread_, pthread_self());
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/X11/ |
Xthreads.h | 258 # define xthread_have_id(id) !pthread_equal(id, _X_no_thread_id) 260 # define xthread_equal(id1,id2) pthread_equal(id1, id2) 263 # define xthread_have_id(id) !pthread_equal(id, 0) 265 # define xthread_equal(id1,id2) pthread_equal(id1, id2)
|