Add contruction function of multiThead.