rebuild work_thread header