Simple Thread-Pool library based on PThreads