Home
last modified time | relevance | path

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

/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/
H A Dtsd_exclusive.h31 CHECK_EQ(pthread_key_create(&PThreadKey, teardownThread<Allocator>), 0); in init()
45 if (reinterpret_cast<Allocator *>(pthread_getspecific(PThreadKey))) { in unmapTestOnly()
46 DCHECK_EQ(reinterpret_cast<Allocator *>(pthread_getspecific(PThreadKey)), in unmapTestOnly()
51 CHECK_EQ(pthread_key_delete(PThreadKey), 0); in unmapTestOnly()
52 PThreadKey = {}; in unmapTestOnly()
109 pthread_setspecific(PThreadKey, reinterpret_cast<void *>(Instance)), 0); in initThread()
115 pthread_key_t PThreadKey = {}; member
142 if (LIKELY(pthread_setspecific(Instance->getTSDRegistry()->PThreadKey, in teardownThread()
/llvm-project-15.0.7/compiler-rt/lib/scudo/
H A Dscudo_tsd_exclusive.cpp20 static pthread_key_t PThreadKey; variable
40 if (LIKELY(pthread_setspecific(PThreadKey, in teardownThread()
50 CHECK_EQ(pthread_key_create(&PThreadKey, teardownThread), 0); in initOnce()
59 CHECK_EQ(pthread_setspecific(PThreadKey, reinterpret_cast<void *>( in initThread()
H A Dscudo_tsd_shared.cpp20 pthread_key_t PThreadKey; variable
34 CHECK_EQ(pthread_key_create(&PThreadKey, NULL), 0); in initOnce()
56 CHECK_EQ(pthread_setspecific(PThreadKey, reinterpret_cast<void *>(TSD)), 0); in setCurrentTSD()
H A Dscudo_tsd_shared.inc19 extern pthread_key_t PThreadKey;
32 return reinterpret_cast<ScudoTSD *>(pthread_getspecific(PThreadKey));
/llvm-project-15.0.7/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()