add ithread support, const a table