fix cpu_thread_entry type