mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-30 06:25:20 -04:00
kern: update process/thread for new running/termination semantics
This commit is contained in:
parent
ec1d9c4c49
commit
256eb92f4c
8 changed files with 76 additions and 82 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue