MCPcopy Create free account
hub / github.com/OneLoneCoder/olcPixelGameEngine / wait

Method wait

extensions/olcPGEX_Network.h:281–288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

279 }
280
281 void wait()
282 {
283 while (empty())
284 {
285 std::unique_lock<std::mutex> ul(muxBlocking);
286 cvBlocking.wait(ul);
287 }
288 }
289
290 protected:
291 std::mutex muxQueue;

Callers 2

AudioThreadMethod · 0.80
UpdateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected