Note that they don't get interrupted at the moment (so on SIGINT, any running builds will need to finish first).
T2EIYJNGPIANHKJ4HBJIPTINWKG7RDLHR3PVHFYAPPLHZAJQBVWAC
std::thread(&State::builderThreadEntry, this, n).detach();
builderThreads.push_back(std::thread(&State::builderThreadEntry, this, n));
/* Wait for SIGINT. */
{
std::unique_lock<std::mutex> lock(exitRequestMutex);
while (!exitRequested)
exitRequest.wait(lock);
}
printMsg(lvlError, "exiting...");