Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dtsd_exclusive.h33 CHECK_EQ(pthread_key_create(&PThreadKey, teardownThread<Allocator>), 0); in init()
47 if (reinterpret_cast<Allocator *>(pthread_getspecific(PThreadKey))) { in unmapTestOnly()
48 DCHECK_EQ(reinterpret_cast<Allocator *>(pthread_getspecific(PThreadKey)), in unmapTestOnly()
53 CHECK_EQ(pthread_key_delete(PThreadKey), 0); in unmapTestOnly()
54 PThreadKey = {}; in unmapTestOnly()
134 pthread_setspecific(PThreadKey, reinterpret_cast<void *>(Instance)), 0); in initThread()
140 pthread_key_t PThreadKey = {}; member
168 if (LIKELY(pthread_setspecific(Instance->getTSDRegistry()->PThreadKey, in teardownThread()
/freebsd-14.2/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()