Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
… pten/adjust_main_dir
  • Loading branch information
chenwhql committed Dec 7, 2021
2 parents c69edf3 + bfa0d7f commit 255632c
Show file tree
Hide file tree
Showing 41 changed files with 1,031 additions and 394 deletions.
4 changes: 2 additions & 2 deletions paddle/fluid/distributed/service/heter_server.h
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ class HeterServer {

bool IsExit() { return service_.IsExit(); }

HeterServer() { this->ready_ = 0; }
HeterServer() : service_(), ready_(0) {}

void RegisterServiceHandler(std::string message_name,
HeterServiceHandler func);
Expand Down Expand Up @@ -391,7 +391,7 @@ class HeterServer {
DISABLE_COPY_AND_ASSIGN(HeterServer);
std::mutex mutex_ready_;

int ready_ = 0;
int ready_;
};

} // end namespace distributed
Expand Down
Loading

1 comment on commit 255632c

@paddle-bot-old
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Congratulation! Your pull request passed all required CI. You could ask reviewer(s) to approve and merge. 🎉

Please sign in to comment.