Added boost::thread