Searched defs:gettid (Results 1 - 2 of 2) sorted by relevance

/bionic/libc/bionic/
H A Dgettid.cpp33 pid_t gettid() { function
/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());

Completed in 173 milliseconds