I've decided, that the approach was too complex, you can look at the code in commit f4eead282f758c17ffdd3c5881a230327da69078, it's some of the worst template-magic I have ever written and it didn't even work in that state. now it is handled simply via a bool parameter, the compiler should optimize it away anyway
Description
A generic thread pool for modern C++.
Languages
C++
100%