A C++ thread library based on pthread