Searched refs:gettid (Results 1 - 8 of 8) sorted by relevance

/system/extras/tests/bionic/libc/bionic/
H A Dtest_pthread_create.c8 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());
H A Dtest_pthread_cond.c15 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());
/system/bluetooth/tools/
H A Dpipetest.c39 printf("%d: socketpair()\n", gettid());
41 printf("%d: socketpair() = %d\n", gettid(), ret);
48 printf("%d: close(%d)\n", gettid(), fd);
50 printf("%d: close(%d) = %d\n", gettid(), fd, ret);
58 printf("%d: poll()\n", gettid());
60 printf("%d: poll() = %d\n", gettid(), ret);
75 printf("%d: write(%d)\n", gettid(), fd);
77 printf("%d: write(%d) = %d\n", gettid(), fd, ret);
87 printf("%d: read(%d)\n", gettid(), fd);
89 printf("%d: read(%d) = %d [%d]\n", gettid(), f
[all...]
H A Dasocket_test.c119 printf("%d: socket()\n", gettid());
121 printf("%d: socket() = %d\n", gettid(), ret);
130 printf("%d: close(%d)\n", gettid(), fd);
132 printf("%d: close(%d) = %d\n", gettid(), fd, ret);
167 printf("%d: bind(%d)\n", gettid(), fd);
169 printf("%d: bind(%d) = %d\n", gettid(), fd, ret);
178 printf("%d: listen(%d)\n", gettid(), fd);
180 printf("%d: listen(%d) = %d\n", gettid(), fd, ret);
190 printf("%d: read(%d)\n", gettid(), fd);
192 printf("%d: read(%d) = %d [%d]\n", gettid(), f
[all...]
H A Dsock_shutdown_test.c101 printf("%d: socket()\n", gettid());
103 printf("%d: socket() = %d\n", gettid(), ret);
112 printf("%d: close(%d)\n", gettid(), fd);
114 printf("%d: close(%d) = %d\n", gettid(), fd, ret);
149 printf("%d: bind(%d)\n", gettid(), fd);
151 printf("%d: bind(%d) = %d\n", gettid(), fd, ret);
160 printf("%d: listen(%d)\n", gettid(), fd);
162 printf("%d: listen(%d) = %d\n", gettid(), fd, ret);
196 printf("%d: accept(%d)\n", gettid(), fd);
198 printf("%d: accept(%d) = %d\n", gettid(), f
[all...]
/system/core/debuggerd/
H A Dcrasher.c28 sprintf(tmp, "%d", gettid());
44 printf("crasher: thread pid=%d tid=%d\n", getpid(), gettid());
83 fprintf(stderr,"crasher: init pid=%d tid=%d\n", getpid(), gettid());
/system/core/libcorkscrew/
H A Dbacktrace.c45 // Bionic implements and exports gettid but only implements tgkill.
50 // glibc doesn't implement or export either gettid or tgkill.
55 static pid_t gettid() { function
90 ALOGV("Unwinding current thread %d.", gettid());
128 if (!android_atomic_acquire_cas(gettid(), STATE_DUMPING, &g_unwind_signal_state.tid_state)) {
138 gettid(), android_atomic_acquire_load(&g_unwind_signal_state.tid_state));
145 if (tid == gettid()) {
149 ALOGV("Unwinding thread %d from thread %d.", tid, gettid());
/system/core/libcutils/
H A Dsched_policy.c226 tid = gettid();
265 tid = gettid();

Completed in 92 milliseconds