std :: thread-如何使主線程保持運行並且子分支斷開 [英]std::thread - How to make main thread keep running and children branch off
分離線程然后使其超出范圍(並使其仍在運行)是否安全? [英]is it safe to detach a thread and then let it go out of scope (and have it still running)?