thread c'tor reformated