There's a lot of confusion about async/await, Task/TPL and asynchronous and parallel programming in general, so Jeremy Clark is on a mission to inform developers on how to use everything properly.
Asynchronous Programming – Part 3: Concurrency in C++ with Qt6 The Signal-Slot Principle QThreadPool Listing 7: Using QThreadPool through inheritance. The second option is to directly pass a callable ...