B Wrapper thread attach