Update Thread.hpp