mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 21:35:46 +00:00
SingleCore: Improve Cycle timing Behavior and replace mutex in global scheduler for spinlock.
This commit is contained in:
parent
a7ecd9e19c
commit
7e2ce2f7f4
3 changed files with 4 additions and 2 deletions
|
@ -185,7 +185,8 @@ ResultCode ServerSession::CompleteSyncRequest() {
|
|||
ResultCode ServerSession::HandleSyncRequest(std::shared_ptr<Thread> thread,
|
||||
Core::Memory::Memory& memory) {
|
||||
ResultCode result = QueueSyncRequest(std::move(thread), memory);
|
||||
Core::System::GetInstance().CoreTiming().ScheduleEvent(0, request_event, {});
|
||||
const u64 delay = kernel.IsMulticore() ? 0U : 20000U;
|
||||
Core::System::GetInstance().CoreTiming().ScheduleEvent(delay, request_event, {});
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue