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
commit 1dd27aff47
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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) {