explicit thread_exit () when process_start () fails
This commit is contained in:
@@ -188,6 +188,7 @@ start_process (void *proc_start_data)
|
|||||||
fail:
|
fail:
|
||||||
data->success = false;
|
data->success = false;
|
||||||
sema_up (&data->loaded);
|
sema_up (&data->loaded);
|
||||||
|
thread_exit ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Helper function that initializes the stack of a newly created
|
/* Helper function that initializes the stack of a newly created
|
||||||
|
|||||||
Reference in New Issue
Block a user