A simple implementation of the thread pool design pattern using pthread library.