Convert Thread to boost