3 ms·
And in C++ can also use this dead-simple header file for a nice high-level, modern threadpool using function objects (lambdas) for very easy parallelization of
by jb1991 3y ago
And in C++ can also use this dead-simple header file for a nice high-level, modern threadpool using function objects (lambdas) for very easy parallelization of arbitrary tasks: https://github.com/progschj/ThreadPool https://github.com/progschj/ThreadPool
- OnlyMortal 3y agoSimple bit of code for a simple threadpool. I spotted a bug in it though which may manifest itself depending on platform.
- jb1991 3y agoWhat did you find? The code is quite widely used, and I’ve also used it extensively for years without any problems.