progschj/ThreadPool
View on GitHub ↗ ★ 8,828 C++
A simple C++11 Thread Pool implementation
5 mentions on Hacker News by 4 people: 1 story, 4 comments · first 2017-05-18 · latest 2023-06-14
20082026
-
…threadpool using function objects (lambdas) for very easy parallelization of arbitrary tasks: https://github.com/progschj/ThreadPool
comment by jb1991 · 2023-06-14 · in Is parallel programming hard, and, if so, what can you do about it? -
Earlier versions did use decltype but that causes issues with pointers to member functions. See: https://github.com/progschj/ThreadPool/commit/ac2a77d5cc0436... result_of has now been deprecated in newer C++ versions but since this…
comment by JakobProgsch · 2020-01-10 · in A simple C++11 thread pool implementation -
Unfortunately no longer maintained. Multiple forks exist though: https://github.com/progschj/ThreadPool/issues/40#issuecommen...
comment by jhasse · 2020-01-09 · in A simple C++11 thread pool implementation -
Indeed, it's portable and part of the standard. Personally I'm a big fan of this implementation: https://github.com/progschj/ThreadPool/
comment by JDevlieghere · 2017-05-18 · in Reuzel – A tiny C++ thread pool