1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-09-02 01:16:32 -05:00

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) {