Searched refs:TLSKey_ (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/foundation/communication/ipc/ipc/native/src/core/source/ |
H A D | ipc_thread_skeleton.cpp | 41 pthread_key_t IPCThreadSkeleton::TLSKey_ = 0; member in OHOS::IPC_SINGLE::IPCThreadSkeleton 78 auto ret = pthread_key_create(&TLSKey_, IPCThreadSkeleton::TlsDestructor); in MakeTlsKey() 83 ZLOGD(LOG_LABEL, "key:%{public}d", TLSKey_); in MakeTlsKey() 98 tid, instance->tid_, TLSKey_, ProcessSkeleton::ConvertAddr(instance), in GetVaildInstance() 101 pthread_setspecific(TLSKey_, nullptr); in GetVaildInstance() 123 void *curTLS = pthread_getspecific(TLSKey_); in GetCurrent() 139 pthread_setspecific(TLSKey_, this); in IPCThreadSkeleton() 152 pthread_setspecific(TLSKey_, nullptr); in ~IPCThreadSkeleton() 274 return TLSKey_; in GetTlsKey()
|
/ohos5.0/foundation/communication/ipc/ipc/native/src/core/include/ |
H A D | ipc_thread_skeleton.h | 77 static pthread_key_t TLSKey_;
|