explicit thread_exit () when process_start () fails

This commit is contained in:
2024-11-13 21:58:41 +00:00
parent d02b956221
commit f5e498e0a9

View File

@@ -188,6 +188,7 @@ start_process (void *proc_start_data)
fail:
data->success = false;
sema_up (&data->loaded);
thread_exit ();
}
/* Helper function that initializes the stack of a newly created