[revert] type of threadNum is N