SVC: Correct SendSyncRequest.
This commit is contained in:
parent
203e706302
commit
15a79eb0d7
8 changed files with 116 additions and 54 deletions
|
@ -715,4 +715,13 @@ SchedulerLockAndSleep::~SchedulerLockAndSleep() {
|
|||
time_manager.ScheduleTimeEvent(event_handle, time_task, nanoseconds);
|
||||
}
|
||||
|
||||
void SchedulerLockAndSleep::Release() {
|
||||
if (sleep_cancelled) {
|
||||
return;
|
||||
}
|
||||
auto& time_manager = kernel.TimeManager();
|
||||
time_manager.ScheduleTimeEvent(event_handle, time_task, nanoseconds);
|
||||
sleep_cancelled = true;
|
||||
}
|
||||
|
||||
} // namespace Kernel
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue