MCPcopy Create free account
hub / github.com/dmlc/parameter_server / tryWaitOutgoingTask

Method tryWaitOutgoingTask

src/system/remote_node.cc:139–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139bool RNode::tryWaitOutgoingTask(int time) {
140 // if (time <= Message::kInvalidTime) return true;
141 for (auto& w : exec_.group(id()))
142 if (!w->outgoing_task_.tryWait(time)) return false;
143 return true;
144}
145
146void RNode::finishOutgoingTask(int time) {
147 for (auto& w : exec_.group(id())) w->outgoing_task_.finish(time);

Callers 1

runMethod · 0.80

Calls 1

tryWaitMethod · 0.80

Tested by

no test coverage detected