Don't process threadsafe events from HLE.

Only from the runloop where blowing the jit cache is safe.
This commit is contained in:
Unknown W. Brackets committed 2013-02-22 00:40:36 -08:00
1 parent 44e2a69258
commit 31ada1ea07
3 files changed
+14 -11

No files matched your search

+2 -2
View File
@@ -795,7 +795,7 @@ void __KernelIdle()
CoreTiming::Idle();
// Advance must happen between Idle and Reschedule, so that threads that were waiting for something
// that was triggered at the end of the Idle period must get a chance to be scheduled.
CoreTiming::Advance();
CoreTiming::AdvanceQuick();
// We must've exited a callback?
if (__KernelInCallback())
@@ -1263,7 +1263,7 @@ void __KernelReSchedule(const char *reason)
}
// Execute any pending events while we're doing scheduling.
CoreTiming::Advance();
CoreTiming::AdvanceQuick();
if (__IsInInterrupt() || __KernelInCallback())
{
reason = "In Interrupt Or Callback";