Home
last modified time | relevance | path

Searched refs:gettid (Results 1 – 7 of 7) sorted by relevance

/system/extras/tests/bionic/libc/bionic/
Dtest_pthread_cond.c15 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()
Dtest_pthread_create.c8 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/
Dbacktrace.c50 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/
Dcrasher.c30 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/
Dsched_policy.c226 tid = gettid(); in get_sched_policy()
265 tid = gettid(); in set_sched_policy()
/system/core/libutils/
DSystemClock.cpp96 gettid()); in checkTimeStamps()
DThreads.cpp306 return gettid(); in androidGetTid()
744 self->mTid = gettid(); in _threadLoop()