mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-27 13:14:15 -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
|
@ -75,11 +75,7 @@ namespace ams::kern::svc {
|
|||
R_UNLESS(thread.IsNotNull(), svc::ResultInvalidHandle());
|
||||
|
||||
/* Try to start the thread. */
|
||||
R_TRY(thread->Run());
|
||||
|
||||
/* If we succeeded, persist a reference to the thread. */
|
||||
thread->Open();
|
||||
return ResultSuccess();
|
||||
return thread->Run();
|
||||
}
|
||||
|
||||
void ExitThread() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue