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

Function WaitForStopThread

tensorflow/cc/training/coordinator_test.cc:32–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30using error::Code;
31
32void WaitForStopThread(Coordinator* coord, Notification* about_to_wait,
33 Notification* done) {
34 about_to_wait->Notify();
35 coord->WaitForStop();
36 done->Notify();
37}
38
39TEST(CoordinatorTest, TestStopAndWaitOnStop) {
40 Coordinator coord;

Callers

nothing calls this directly

Calls 2

WaitForStopMethod · 0.80
NotifyMethod · 0.45

Tested by

no test coverage detected