提交 053540e1 编写于 作者: M minqiyang

Add volatile to stopped_ member

上级 b78ffde6
......@@ -238,7 +238,7 @@ class GRPCClient : public RPCClient {
std::mutex completed_mutex_;
bool completed_;
bool stopped_;
volatile bool stopped_;
};
} // namespace distributed
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册