Auto thread number.