MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / WaitForStop

Method WaitForStop

tensorflow/cc/training/coordinator.cc:111–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111void Coordinator::WaitForStop() {
112 mutex_lock l(mu_);
113 while (!should_stop_) {
114 wait_for_stop_.wait(l);
115 }
116}
117
118Status Coordinator::ExportCostGraph(CostGraphDef* cost_graph) const {
119 mutex_lock l(runners_lock_);

Callers 4

StopMethod · 0.80
WaitForStopThreadFunction · 0.80
TESTFunction · 0.80
StopMethod · 0.80

Calls 1

waitMethod · 0.45

Tested by 2

WaitForStopThreadFunction · 0.64
TESTFunction · 0.64