please review: Ticket 48037 - ns_thrpool_new should take a config struct rather than many parameters