Return threadToId() as number.
IOCP simpe base code.