MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / runInBackgroundThread

Function runInBackgroundThread

source/util/threadutils.cpp:23–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21#include <thread>
22
23void runInBackgroundThread(std::function<void(void)> f) {
24 std::thread t(f);
25 t.detach();
26}
27#endif

Callers 4

updateFileListMethod · 0.85
UnzipDlgMethod · 0.85
DownloadDlgMethod · 0.85
forceShutdownMethod · 0.85

Calls 1

detachMethod · 0.45

Tested by

no test coverage detected