kern: update process/thread for new running/termination semantics
This commit is contained in:
1 parent
ec1d9c4c49
commit
256eb92f4c
8 files changed
+76
-82
No files matched your search
@@ -286,12 +286,7 @@ namespace ams::kern::svc {
|
||||
process->SetIdealCoreId(core_id);
|
||||
|
||||
/* Run the process. */
|
||||
R_TRY(process->Run(priority, static_cast<size_t>(main_thread_stack_size)));
|
||||
|
||||
/* Open a reference to the process, since it's now running. */
|
||||
process->Open();
|
||||
|
||||
return ResultSuccess();
|
||||
return process->Run(priority, static_cast<size_t>(main_thread_stack_size));
|
||||
}
|
||||
|
||||
Result TerminateProcess(ams::svc::Handle process_handle) {
|
||||
|
||||
Reference in new issue
Block a user