未验证 提交 4066713f 编写于 作者: Z zmx 提交者: GitHub

fix heter_server (#37604) (#37627)

上级 14fd53d5
......@@ -336,7 +336,7 @@ class HeterServer {
bool IsExit() { return service_.IsExit(); }
HeterServer() {}
HeterServer() { this->ready_ = 0; }
void RegisterServiceHandler(std::string message_name,
HeterServiceHandler func);
......@@ -391,7 +391,7 @@ class HeterServer {
DISABLE_COPY_AND_ASSIGN(HeterServer);
std::mutex mutex_ready_;
int ready_;
int ready_ = 0;
};
} // end namespace distributed
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册