Core::CoreTiming: add UnscheduleEventThreadsafe

This commit is contained in:
B3n30 2018-08-13 13:56:41 +02:00
parent e67630b51e
commit eab35c8235
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) {