Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DFHack/dfhack
/ flag_set
Function
flag_set
library/Crashlog.cpp:29–32 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
27
int crashlog_complete = -1;
28
29
void flag_set(std::atomic_bool &atom) {
30
atom.store(true);
31
atom.notify_all();
32
}
33
void flag_wait(std::atomic_bool &atom) {
34
atom.wait(false);
35
}
Callers
2
handle_signal_internal
Function · 0.85
dfhack_crashlog_shutdown
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected