pthread updated