A simple thread pool for C