Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
23
void runInBackgroundThread(std::function<void(void)> f) {
24
std::thread t(f);
25
t.detach();
26
}
27
#endif
Callers
4
updateFileList
Method · 0.85
UnzipDlg
Method · 0.85
DownloadDlg
Method · 0.85
forceShutdown
Method · 0.85
Calls
1
detach
Method · 0.45
Tested by
no test coverage detected