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

/bionic/libc/bionic/
H A Dgettid.cpp33 pid_t gettid() { function
H A Dfork.cpp50 self->set_cached_pid(gettid());
H A Dlibc_logging.cpp502 uint16_t tid = gettid();
564 uint16_t tid = gettid();
/bionic/libc/dns/resolv/
H A Dres_state.c46 # include <unistd.h> /* for gettid() */
101 D("%s: rt=%p for thread=%d", __FUNCTION__, rt, gettid());
125 __FUNCTION__, gettid(), rt, rt->_pi, rt->_serial);
135 __FUNCTION__, gettid(), rt);
142 __FUNCTION__, gettid(), rt);
158 __FUNCTION__, gettid(), rt);
165 __FUNCTION__, gettid(), rt, (rt->_nres->options & RES_INIT) != 0);
169 __FUNCTION__, gettid(), rt);
/bionic/tests/
H A Dstack_protector_test.cpp31 // glibc doesn't expose gettid(2).
32 pid_t gettid() { return syscall(__NR_gettid); } function
48 pid_t tid = gettid();
53 // Duplicate tid. gettid(2) bug? Seeing this would be very upsetting.
116 ASSERT_NE(0, gettid());
H A Dpthread_test.cpp345 asprintf(&filename, "/proc/self/task/%d/comm", gettid());
/bionic/benchmarks/
H A Dunistd_benchmark.cpp45 /* Must not be static! */ pid_t (*gettid_fp)() = gettid;
/bionic/linker/
H A Ddebugger.cpp180 signum, signal_name, code_desc, addr_desc, gettid(), thread_name);
231 msg.tid = gettid();
282 tgkill(getpid(), gettid(), signal_number);
/bionic/libc/include/
H A Dunistd.h57 extern pid_t gettid(void) __pure2;
/bionic/libc/
H A DAndroid.mk125 bionic/gettid.cpp \

Completed in 260 milliseconds