未验证 提交 6aa5418f 编写于 作者: 张泊远yg 提交者: Gitee

update ipc/native/src/core/source/ipc_thread_skeleton.cpp.

Signed-off-by: N张泊远yg <zhangboyuan1@huawei.com>
Signed-off-by: N张泊远yg <zhangboyuan1@huawei.com>
上级 99214f4f
......@@ -38,10 +38,12 @@ using namespace OHOS::HiviewDFX;
pthread_key_t IPCThreadSkeleton::TLSKey_ = 0;
pthread_once_t IPCThreadSkeleton::TLSKeyOnce_ = PTHREAD_ONCE_INIT;
bool IPCThreadSkeleton::isThreadAvailable = true;
std::recursive_mutex IPCThreadSkeleton::mutex_;
static constexpr HiLogLabel LABEL = { LOG_CORE, LOG_ID_IPC, "IPCThreadSkeleton" };
void IPCThreadSkeleton::TlsDestructor(void *args)
{
std::lock_guard<std::recursive_mutex> lockGuard(mutex_);
auto *current = static_cast<IPCThreadSkeleton *>(args);
auto it = current->invokers_.find(IRemoteObject::IF_PROT_BINDER);
if (it != current->invokers_.end()) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册