Searched refs:gettid (Results 1 – 7 of 7) sorted by relevance
/system/extras/tests/bionic/libc/bionic/ |
D | test_pthread_cond.c | 15 printf("Thread 1 (arg=%d tid=%d) entered.\n", (unsigned)arg, gettid()); in thread1_func() 27 printf("Thread 2 (arg=%d tid=%d) entered.\n", (unsigned)arg, gettid()); in thread2_func() 40 printf("Thread 3 (arg=%d tid=%d) entered.\n", (unsigned)arg, gettid()); in thread3_func() 57 printf("Thread 4 (arg=%d tid=%d) entered.\n", (unsigned)arg, gettid()); in thread4_func()
|
D | test_pthread_create.c | 8 printf("Thread 1 (arg=%d tid=%d) entered.\n", (unsigned)arg, gettid()); in thread1_func() 15 printf("thread 2 (arg=%d tid=%d) entered.\n", (unsigned)arg, gettid()); in thread2_func()
|
/system/core/libcorkscrew/ |
D | backtrace.c | 50 static pid_t gettid() { in gettid() function 61 static pid_t gettid() { in gettid() function 96 ALOGV("Unwinding current thread %d.", gettid()); in unwind_backtrace() 134 if (!android_atomic_acquire_cas(gettid(), STATE_DUMPING, &g_unwind_signal_state.tid_state)) { in unwind_backtrace_thread_signal_handler() 144 gettid(), android_atomic_acquire_load(&g_unwind_signal_state.tid_state)); in unwind_backtrace_thread_signal_handler() 151 if (tid == gettid()) { in unwind_backtrace_thread() 155 ALOGV("Unwinding thread %d from thread %d.", tid, gettid()); in unwind_backtrace_thread()
|
/system/core/debuggerd/ |
D | crasher.c | 30 sprintf(tmp, "%d", gettid()); in debuggerd_connect() 131 fprintf(stderr,"crasher: init pid=%d tid=%d\n", getpid(), gettid()); in do_action()
|
/system/core/libcutils/ |
D | sched_policy.c | 226 tid = gettid(); in get_sched_policy() 265 tid = gettid(); in set_sched_policy()
|
/system/core/libutils/ |
D | SystemClock.cpp | 96 gettid()); in checkTimeStamps()
|
D | Threads.cpp | 306 return gettid(); in androidGetTid() 744 self->mTid = gettid(); in _threadLoop()
|