Portable (POSIX/Windows/Emscripten) thread pool for C/C++
Portable (POSIX/Windows/Emscripten) thread pool for C/C++
pthreadpool is a portable and efficient thread pool implementation.
It provides similar functionality to #pragma omp parallel for, but with additional features.
The following example demonstates using the thread pool for parallel addition of two arrays:
…No open issues yet, or sync has not completed.