add mutli thread sample