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

Method empty

src/util/threadsafe_queue.h:65–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63 }
64
65 bool empty() const {
66 std::lock_guard<std::mutex> lk(mut);
67 return data_queue.empty();
68 }
69};
70
71} // namespace PS

Callers 2

wait_and_popMethod · 0.45
try_popMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected