MCPcopy Create free account
hub / github.com/ErrorAtLine0/infinipaint / Wait

Method Wait

include/Eigen/src/ThreadPool/Barrier.h:43–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41 }
42
43 void Wait() {
44 unsigned int v = state_.fetch_or(1, std::memory_order_acq_rel);
45 if ((v >> 1) == 0) return;
46 EIGEN_MUTEX_LOCK l(mu_);
47 while (!notified_) {
48 cv_.wait(l);
49 }
50 }
51
52 private:
53 EIGEN_MUTEX mu_;

Callers 4

parallelize_gemmFunction · 0.80
ThreadPoolTemplMethod · 0.80
WorkerLoopMethod · 0.80
parallelForMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected