1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-08-31 16:36:34 -05:00

Merge pull request #1051 from B3n30/UnscheduleEventThreadsafe

Core::CoreTiming: add UnscheduleEventThreadsafe
This commit is contained in:
bunnei
2018-08-15 18:25:30 -04:00
committed by GitHub
3 changed files with 12 additions and 1 deletions

View File

@@ -167,7 +167,7 @@ void Thread::WakeAfterDelay(s64 nanoseconds) {
}
void Thread::CancelWakeupTimer() {
CoreTiming::UnscheduleEvent(ThreadWakeupEventType, callback_handle);
CoreTiming::UnscheduleEventThreadsafe(ThreadWakeupEventType, callback_handle);
}
static boost::optional<s32> GetNextProcessorId(u64 mask) {