threadpool
threadpool copied to clipboard
threadpool is a cross-platform thread pool library based on boost C++ libraries.
… by const reference to fix gcc-8's warning: catching polymorphic type ‘class boost::thread_resource_error’ by value (https://github.com/philipphenkel/threadpool/issues/5).
A simple test: ``` martind@stormy:~/tmp/D158494$ cat polymorphic-catch.cpp #include "boost/threadpool/pool.hpp" void* po = new boost::threadpool::pool; martind@stormy:~/tmp/D158494$ ``` ... produces a warning when compiled with -Wall: ``` martind@stormy:~/tmp/D158494$ gcc -I ~/download/threadpool/ -c...