Home
last modified time | relevance | path

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

/developtools/profiler/device/plugins/native_hook/src/
H A Dhook_client.cpp47 static pthread_key_t g_hookTid; variable
183 if (pthread_getspecific(g_hookTid) == nullptr) { in GetCurThreadId()
184 pthread_setspecific(g_hookTid, reinterpret_cast<void *>(GetThreadId())); in GetCurThreadId()
186 return reinterpret_cast<long>((pthread_getspecific(g_hookTid))); in GetCurThreadId()
270 pthread_key_create(&g_hookTid, nullptr); in ohos_malloc_hook_on_start()
271 pthread_setspecific(g_hookTid, nullptr); in ohos_malloc_hook_on_start()
296 pthread_key_delete(g_hookTid); in ohos_release_on_end()

Completed in 3 milliseconds