MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / wait

Function wait

modules/core/task/include/SkrTask/fib_task.hpp:39–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37
38 bool operator==(const counter_t& other) const { return internal == other.internal; }
39 void wait(bool pin) const { internal->GetScheduler()->WaitForCounter(internal.get(), pin); }
40 void add(const unsigned int x) { internal->Add(x); }
41 void decrement() { internal->Decrement(); }
42 bool test() const { return internal->Done(); }

Callers

nothing calls this directly

Calls 2

getMethod · 0.45
waitMethod · 0.45

Tested by

no test coverage detected