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

Method Wait

tensorflow/lite/experimental/ruy/blocking_counter.cc:42–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42void BlockingCounter::Wait() {
43 const auto& condition = [this]() {
44 return count_.load(std::memory_order_acquire) == 0;
45 };
46 WaitUntil(condition, &count_cond_, &count_mutex_);
47}
48
49} // namespace ruy

Callers 2

ExecuteImplMethod · 0.45
CreateThreadsMethod · 0.45

Calls 2

WaitUntilFunction · 0.85
loadMethod · 0.45

Tested by

no test coverage detected