Update pthread.hpp