Kernel/IPC: Put a thread to sleep when performing an LLE IPC request.
It will be awoken when the server replies to the request via svcReplyAndReceive.
This commit is contained in:
@ -241,8 +241,6 @@ static ResultCode SendSyncRequest(Kernel::Handle handle) {
|
||||
|
||||
Core::System::GetInstance().PrepareReschedule();
|
||||
|
||||
// TODO(Subv): svcSendSyncRequest should put the caller thread to sleep while the server
|
||||
// responds and cause a reschedule.
|
||||
return session->SendSyncRequest(Kernel::GetCurrentThread());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user