/bionic/libc/arch-mips/syscalls/ |
gettid.S | 4 .globl gettid 6 .ent gettid 8 gettid: label 22 .end gettid
|
/bionic/libc/arch-arm/syscalls/ |
gettid.S | 6 ENTRY(gettid) function 15 END(gettid)
|
/bionic/libc/arch-x86/syscalls/ |
gettid.S | 6 ENTRY(gettid) function 18 END(gettid)
|
/system/extras/tests/bionic/libc/bionic/ |
test_pthread_create.c | 8 printf("Thread 1 (arg=%d tid=%d) entered.\n", (unsigned)arg, gettid()); 15 printf("thread 2 (arg=%d tid=%d) entered.\n", (unsigned)arg, gettid());
|
test_pthread_cond.c | 15 printf("Thread 1 (arg=%d tid=%d) entered.\n", (unsigned)arg, gettid()); 27 printf("Thread 2 (arg=%d tid=%d) entered.\n", (unsigned)arg, gettid()); 40 printf("Thread 3 (arg=%d tid=%d) entered.\n", (unsigned)arg, gettid()); 57 printf("Thread 4 (arg=%d tid=%d) entered.\n", (unsigned)arg, gettid());
|
/frameworks/wilhelm/src/android/ |
CallbackProtector.cpp | 68 mCallbackTid = gettid(); 75 (void *) pthread_self(), gettid(), 116 mRequesterTid = gettid(); 123 (void *) pthread_self(), gettid()); 137 mRequesterTid = gettid(); 144 (void *) pthread_self(), gettid());
|
/system/core/include/cutils/ |
sched_policy.h | 38 * If the thread is a thread group leader, that is it's gettid() == getpid(), 40 * On platforms which support gettid(), zero tid means current thread. 46 * On platforms which support gettid(), zero tid means current thread.
|
/bionic/libc/netbsd/resolv/ |
res_state.c | 46 # include <unistd.h> /* for gettid() */ 100 D("%s: rt=%p for thread=%d", __FUNCTION__, rt, gettid()); 124 __FUNCTION__, gettid(), rt, rt->_pi, rt->_serial); 134 __FUNCTION__, gettid(), rt); 141 __FUNCTION__, gettid(), rt); 157 __FUNCTION__, gettid(), rt); 164 __FUNCTION__, gettid(), rt, (rt->_nres->options & RES_INIT) != 0); 168 __FUNCTION__, gettid(), rt);
|
/bionic/tests/ |
stack_protector_test.cpp | 32 // glibc doesn't expose gettid(2). 33 pid_t gettid() { return syscall(__NR_gettid); } function 52 pid_t tid = gettid(); 57 // Duplicate tid. gettid(2) bug? Seeing this would be very upsetting. 103 ASSERT_NE(0, gettid());
|
/external/libselinux/src/ |
procattr.c | 12 static pid_t gettid(void) function 31 tid = gettid(); 88 tid = gettid();
|
/system/core/libcorkscrew/ |
backtrace.c | 42 // Bionic implements and exports gettid but only implements tgkill. 49 // Mac OS >= 10.6 has a system call equivalent to Linux's gettid(). 50 static pid_t gettid() { function 56 // glibc doesn't implement or export either gettid or tgkill. 61 static pid_t gettid() { function 96 ALOGV("Unwinding current thread %d.", gettid()); 134 if (!android_atomic_acquire_cas(gettid(), STATE_DUMPING, &g_unwind_signal_state.tid_state)) { 144 gettid(), android_atomic_acquire_load(&g_unwind_signal_state.tid_state)); 151 if (tid == gettid()) { 155 ALOGV("Unwinding thread %d from thread %d.", tid, gettid()); [all...] |
/device/generic/goldfish/opengl/system/OpenglSystemCommon/ |
HostConnection.cpp | 102 ALOGD("HostConnection::get() New Host Connection established %p, tid %d\n", con, gettid()); 113 DBG("HostConnection::glEncoder new encoder %p, tid %d", m_glEnc, gettid()); 123 DBG("HostConnection::gl2Encoder new encoder %p, tid %d", m_gl2Enc, gettid());
|
/external/chromium_org/third_party/leveldatabase/src/util/ |
posix_logger.h | 24 PosixLogger(FILE* f, uint64_t (*gettid)()) : file_(f), gettid_(gettid) { }
|
/art/runtime/base/ |
logging_linux.cc | 34 ProgramInvocationShortName(), severity, getpid(), ::art::GetTid(),
|
/external/valgrind/main/coregrind/m_scheduler/ |
ticket-lock-linux.c | 127 VG_(gettid)(), ticket); 136 VG_(gettid)(), ticket, (long)(futex - p->futex), 149 p->owner = VG_(gettid)(); 176 "\n", VG_(getpid)(), VG_(gettid)(), wakeup_ticket, 185 VG_(getpid)(), VG_(gettid)(), wakeup_ticket);
|
sema.c | 36 #include "pub_core_libcproc.h" // For VG_(gettid)() 102 Int lwpid = VG_(gettid)(); 139 vg_assert(sema->owner_lwpid == VG_(gettid)()); /* must have it */
|
/external/valgrind/main/gdbserver_tests/ |
t.c | 19 static pid_t gettid() function 29 printf("pid %d Thread %d %s\n", getpid(), gettid(), msg); fflush(stdout);
|
/system/core/libutils/ |
SystemClock.cpp | 85 * gettid, and int64_t is different on the ARM platform 96 gettid());
|
/bionic/linker/ |
debugger.cpp | 142 info->si_code, gettid(), thread_name); 146 signum, signal_name, gettid(), thread_name); 190 pid_t tid = gettid(); 241 (void) tgkill(getpid(), gettid(), n);
|
/external/chromium_org/third_party/libusb/src/libusb/os/ |
threads_posix.c | 62 ret = gettid();
|
/system/core/include/utils/ |
Thread.h | 74 // Return the thread's kernel ID, same as the thread itself calling gettid() or 76 pid_t getTid() const; 105 // legacy for debugging, not used by getTid() as it is set by the child thread
|
/bionic/libc/bionic/ |
pthread_debug.cpp | 367 sPthreadDebugDisabledThread = gettid(); 372 LOGW("pid: %d, tid: %d >>> %s <<<", getpid(), gettid(), __progname); 380 pid_t ourtid = gettid(); 428 pid_t tid = gettid(); 479 pid_t tid = gettid(); 636 ThreadInfo* tinfo = get_thread_info(gettid()); 643 ThreadInfo* tinfo = get_thread_info(gettid()); 656 ThreadInfo* tinfo = get_thread_info(gettid()); 693 if (sPthreadDebugDisabledThread == gettid()) 710 if (sPthreadDebugDisabledThread == gettid()) [all...] |
fork.c | 53 __pthread_settid(pthread_self(), gettid());
|
/frameworks/av/media/libmedia/ |
IMediaMetadataRetriever.cpp | 43 get_sched_policy(gettid(), &policy); 50 set_sched_policy(gettid(), policy); 54 set_sched_policy(gettid(), SP_FOREGROUND);
|
/art/runtime/ |
thread_android.cc | 56 pid_t tid = GetTid();
|