enabled thread api