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

Function fInitthread

library/Core.cpp:954–960  ·  view source on GitHub ↗

Load dfhack.init in a dedicated thread (non-interactive console mode)

Source from the content-addressed store, hash-verified

952
953// Load dfhack.init in a dedicated thread (non-interactive console mode)
954static void fInitthread(IODATA * iod)
955{
956 Core * core = iod->core;
957 color_ostream_proxy out(core->getConsole());
958
959 run_dfhack_init(out, core);
960}
961
962// A thread function... for the interactive console.
963static void fIOthread(IODATA * iod)

Callers

nothing calls this directly

Calls 1

run_dfhack_initFunction · 0.85

Tested by

no test coverage detected