Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
111
void Coordinator::WaitForStop() {
112
mutex_lock l(mu_);
113
while (!should_stop_) {
114
wait_for_stop_.wait(l);
115
}
116
}
117
118
Status Coordinator::ExportCostGraph(CostGraphDef* cost_graph) const {
119
mutex_lock l(runners_lock_);
Callers
4
Stop
Method · 0.80
WaitForStopThread
Function · 0.80
TEST
Function · 0.80
Stop
Method · 0.80
Calls
1
wait
Method · 0.45
Tested by
2
WaitForStopThread
Function · 0.64
TEST
Function · 0.64