A simple implementation of thread pooling for C/C++ using POSIX threads