MCPcopy Create free account
hub / github.com/DFHack/dfhack / flag_wait

Function flag_wait

library/Crashlog.cpp:33–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31 atom.notify_all();
32}
33void flag_wait(std::atomic_bool &atom) {
34 atom.wait(false);
35}
36
37void signal_crashlog_complete() {
38 if (crashlog_complete == -1)

Callers 1

dfhack_crashlog_threadFunction · 0.85

Calls 1

waitMethod · 0.80

Tested by

no test coverage detected