mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-13 06:34:23 -04:00
kern: SendSyncRequestLight, ReplyAndReceiveLight
This commit is contained in:
parent
b6cb561c47
commit
8922bbd108
8 changed files with 360 additions and 14 deletions
|
@ -720,8 +720,8 @@ namespace ams::kern {
|
|||
/* Check if we're waiting and cancellable. */
|
||||
if (this->GetState() == ThreadState_Waiting && this->cancellable) {
|
||||
if (this->sleeping_queue != nullptr) {
|
||||
/* TODO: Cancel light IPC. */
|
||||
MESOSPHERE_UNIMPLEMENTED();
|
||||
this->sleeping_queue->WakeupThread(this);
|
||||
this->wait_cancelled = true;
|
||||
} else {
|
||||
this->SetSyncedObject(nullptr, svc::ResultCancelled());
|
||||
this->SetState(ThreadState_Runnable);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue