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

Method ~RunCounter

tensorflow/python/client/session_ref.cc:47–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45 }
46
47 ~RunCounter() {
48 mutex_lock l(*m);
49 if (--*value == 0) {
50 cv->notify_all();
51 }
52 }
53};
54
55std::string SessionToHandle(Session* session) {

Callers

nothing calls this directly

Calls 1

notify_allMethod · 0.80

Tested by

no test coverage detected