Merge new_thread() into thread_create().