MCPcopy Create free account
hub / github.com/TinyMPC/TinyMPC / Park

Method Park

include/Eigen/Eigen/src/ThreadPool/EventCount.h:222–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220 }
221
222 void Park(Waiter* w) {
223 EIGEN_MUTEX_LOCK lock(w->mu);
224 while (w->state != Waiter::kSignaled) {
225 w->state = Waiter::kWaiting;
226 w->cv.wait(lock);
227 }
228 }
229
230 void Unpark(Waiter* w) {
231 for (Waiter* next; w; w = next) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected