Home
last modified time | relevance | path

Searched refs:PThreadKey (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dtsd_exclusive.h58 CHECK_EQ(pthread_key_create(&PThreadKey, teardownThread<Allocator>), 0); in init()
72 if (reinterpret_cast<Allocator *>(pthread_getspecific(PThreadKey))) { in unmapTestOnly()
73 DCHECK_EQ(reinterpret_cast<Allocator *>(pthread_getspecific(PThreadKey)), in unmapTestOnly()
78 CHECK_EQ(pthread_key_delete(PThreadKey), 0); in unmapTestOnly()
79 PThreadKey = {}; in unmapTestOnly()
154 pthread_setspecific(PThreadKey, reinterpret_cast<void *>(Instance)), 0); in initThread()
160 pthread_key_t PThreadKey = {}; member
188 if (LIKELY(pthread_setspecific(Instance->getTSDRegistry()->PThreadKey, in teardownThread()
/freebsd/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_basic_logging.cpp74 static pthread_key_t PThreadKey; variable
132 pthread_setspecific(PThreadKey, &TLD); in getThreadLocalData()
385 pthread_key_create(&PThreadKey, TLDDestructor); in basicLoggingInit()