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

Function signal_crashlog_complete

library/Crashlog.cpp:37–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37void signal_crashlog_complete() {
38 if (crashlog_complete == -1)
39 return;
40 uint64_t v = 1;
41 [[maybe_unused]] auto _ = write(crashlog_complete, &v, sizeof(v));
42}
43
44std::thread crashlog_thread;
45

Callers 2

dfhack_crashlog_threadFunction · 0.85
dfhack_crashlog_shutdownFunction · 0.85

Calls 1

writeFunction · 0.50

Tested by

no test coverage detected