thread_free_batched
static void thread_free_batched(struct thread *td);
thread_free_batched(itd);
thread_free_batched(td);