by elsamuko · 11y ago · 0 comments
The use case is, that you don't block the UI while doing heavy or slow work, e.g. generating previews in an image organizer or fetching http requests in a browser.
Instead of std::thread, I'd rather recommend using std::function and a threadpool like this one:
No comments yet.