Get Off My Thread: Techniques for Moving Work to Background Threads
https://cppcon.org/ https://github.com/CppCon/CppCon2020/blob/main/Presentations/get_off_my_thread/get_off_my_thread__anthony_williams__cppcon_2020.pdf
If you’re writing a GUI application and you want the interface to feel “responsive” to the user then you need the code that response to UI events to be short and fast. Similarly, if you are handling network I/O you may not want the processing of one request to prevent the system receiving further input.
If the work to be done in …