Searched refs:PThreadKey (Results 1 – 5 of 5) sorted by relevance
| /llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/ |
| H A D | tsd_exclusive.h | 31 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 D | scudo_tsd_exclusive.cpp | 20 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 D | scudo_tsd_shared.cpp | 20 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 D | scudo_tsd_shared.inc | 19 extern pthread_key_t PThreadKey; 32 return reinterpret_cast<ScudoTSD *>(pthread_getspecific(PThreadKey));
|
| /llvm-project-15.0.7/compiler-rt/lib/xray/ |
| H A D | xray_basic_logging.cpp | 74 static pthread_key_t PThreadKey; variable 132 pthread_setspecific(PThreadKey, &TLD); in getThreadLocalData() 385 pthread_key_create(&PThreadKey, TLDDestructor); in basicLoggingInit()
|