You need to sign in or sign up before continuing.
未验证 提交 2b5c8243 编写于 作者: 张泊远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>
上级 07d39a23
...@@ -147,17 +147,17 @@ IRemoteInvoker *IPCThreadSkeleton::GetDefaultInvoker() ...@@ -147,17 +147,17 @@ IRemoteInvoker *IPCThreadSkeleton::GetDefaultInvoker()
return GetRemoteInvoker(IRemoteObject::IF_PROT_DEFAULT); return GetRemoteInvoker(IRemoteObject::IF_PROT_DEFAULT);
} }
void IPCThreadSkeleton::JoinWorkThread(int prot) void IPCThreadSkeleton::JoinWorkThread(int proto)
{ {
IRemoteInvoker *invoker = GetRemoteInvoker(prot); IRemoteInvoker *invoker = GetRemoteInvoker(proto);
if (invoker != nullptr) { if (invoker != nullptr) {
invoker->JoinThread(true); invoker->JoinThread(true);
} }
} }
void IPCThreadSkeleton::StopWorkThread(int prot) void IPCThreadSkeleton::StopWorkThread(int proto)
{ {
IRemoteInvoker *invoker = GetRemoteInvoker(prot); IRemoteInvoker *invoker = GetRemoteInvoker(proto);
if (invoker != nullptr) { if (invoker != nullptr) {
invoker->StopWorkThread(); invoker->StopWorkThread();
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册