Update hook_thread.c