Use thread number as argument for domain threads.