Home
last modified time | relevance | path

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

/bionic/tests/
Dstack_protector_test.cpp32 extern "C" pid_t gettid(); // glibc defines this but doesn't declare it anywhere.
43 pid_t tid = gettid(); in Check()
71 ASSERT_EQ(getpid(), gettid()); // We are the main thread, right? in TEST()
95 ASSERT_NE(0, gettid()); in TEST()
Dbug_26110743_test.cpp29 extern "C" pid_t gettid();
80 pid_t mytid = gettid(); in ProcTaskFdReadlinkBody()
Dpthread_test.cpp554 tid_promise.set_value(gettid()); in TEST()
933 arg->tid = gettid(); in pthread_rwlock_wakeup_helper()
1080 arg->tid = gettid(); in pthread_rwlock_wakeup_timeout_helper()
1289 arg->tid = gettid(); in WriterThreadFn()
1298 arg->tid = gettid(); in ReaderThreadFn()
1904 *reinterpret_cast<pid_t*>(arg) = gettid(); in pthread_gettid_np_helper()
1915 ASSERT_EQ(gettid(), pthread_gettid_np(pthread_self())); in TEST()
2180 helper->tid = gettid(); in thread_fn()
2265 helper->child_tid = gettid(); in thread_fn()
2267 ASSERT_EQ(0, setpriority(PRIO_PROCESS, gettid(), 1)); in thread_fn()
[all …]
Dleak_test.cpp145 *data->tid = gettid(); in TEST()
Dutils.h155 extern "C" pid_t gettid();
Dstdio_ext_test.cpp221 *pid = gettid(); in LockingByCallerHelper()
Dsignal_test.cpp790 ASSERT_EQ(0, syscall(SYS_rt_tgsigqueueinfo, getpid(), gettid(), SIGUSR1, &sent)) in TEST()
797 ASSERT_EQ(0, syscall(SYS_rt_tgsigqueueinfo, getpid(), gettid(), SIGUSR1, &sent)) in TEST()
Dtime_test.cpp624 tdd->tid = gettid(); in TimerDeleteCallback()
Dunistd_test.cpp508 return gettid(); in GetTidForTest()
/bionic/libc/dns/resolv/
Dres_state.c89 D("%s: rt=%p for thread=%d", __FUNCTION__, rt, gettid()); in _res_thread_free()
120 __FUNCTION__, gettid(), rt); in _res_thread_get()
126 __FUNCTION__, gettid(), rt, (rt->_nres->options & RES_INIT) != 0); in _res_thread_get()
130 __FUNCTION__, gettid(), rt); in _res_thread_get()
/bionic/linker/
Dlinker_memory.cpp46 return fallback_tid.compare_exchange_strong(expected, gettid()); in __linker_enable_fallback_allocator()
53 } else if (previous != gettid()) { in __linker_disable_fallback_allocator()
65 if (__predict_false(fallback_tid) && __predict_false(gettid() == fallback_tid)) { in get_allocator()
/bionic/libc/bionic/
Dlibc_init_common.cpp76 if (gettid() > 65535) { in __check_max_thread_id()
78 "pid <= 65535, but current pid is %d", gettid()); in __check_max_thread_id()
Dgettid.cpp34 pid_t gettid() { in gettid() function
Dfork.cpp46 self->set_cached_pid(gettid()); in __clone_for_fork()
/bionic/benchmarks/
Dunistd_benchmark.cpp35 BIONIC_TRIVIAL_BENCHMARK(BM_unistd_gettid, gettid());
/bionic/libc/
DSECCOMP_ALLOWLIST_COMMON.TXT10 pid_t gettid:gettid() all
Dlibc.map.txt485 gettid;
DAndroid.bp1056 "bionic/gettid.cpp",
/bionic/libc/malloc_debug/
DRecordData.cpp48 RecordEntry::RecordEntry() : tid_(gettid()) { in RecordEntry()
DREADME.md289 with the THREAD\_ID returned by gettid(), which is the thread that is making
/bionic/libc/include/
Dunistd.h83 pid_t gettid(void) __attribute_const__;
/bionic/libc/malloc_debug/tests/
Dmalloc_debug_system_tests.cpp541 tid = gettid(); in TEST()
Dmalloc_debug_unit_tests.cpp2274 tid = gettid(); in TEST_F()
/bionic/libc/async_safe/
Dasync_safe_log.cpp500 uint16_t tid = gettid(); in async_safe_write_log()
/bionic/tools/versioner/platforms/
Dlibc.map.txt485 gettid;