mirror of
https://github.com/xenia-project/xenia.git
synced 2026-04-20 22:13:40 +00:00
Extending critical sections to spin forever for now.
This commit is contained in:
parent
01a94f3850
commit
562c86f76d
1 changed files with 4 additions and 1 deletions
|
|
@ -767,7 +767,10 @@ spin:
|
|||
|
||||
// All out of spin waits, create a full waiter.
|
||||
// TODO(benvanik): contention - do a real wait!
|
||||
XELOGE("RtlEnterCriticalSection tried to really lock!");
|
||||
//XELOGE("RtlEnterCriticalSection tried to really lock!");
|
||||
spin_wait_remaining = 1; // HACK: spin forever
|
||||
Sleep(1);
|
||||
goto spin;
|
||||
}
|
||||
|
||||
// Now own the lock.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue