summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-16 00:25:30 +0200
committerGitHub <noreply@github.com>2018-08-16 00:25:30 +0200
commit1dd27aff476f4831aab571442b0cc882a8bb0b95 (patch)
tree1571009dc837518fcd3497ea54fe9e4bd5c66494 /src/core/hle/kernel
parentMerge pull request #1080 from lioncash/ret (diff)
parentCore::CoreTiming: add UnscheduleEventThreadsafe (diff)
downloadyuzu-1dd27aff476f4831aab571442b0cc882a8bb0b95.tar
yuzu-1dd27aff476f4831aab571442b0cc882a8bb0b95.tar.gz
yuzu-1dd27aff476f4831aab571442b0cc882a8bb0b95.tar.bz2
yuzu-1dd27aff476f4831aab571442b0cc882a8bb0b95.tar.lz
yuzu-1dd27aff476f4831aab571442b0cc882a8bb0b95.tar.xz
yuzu-1dd27aff476f4831aab571442b0cc882a8bb0b95.tar.zst
yuzu-1dd27aff476f4831aab571442b0cc882a8bb0b95.zip
Diffstat (limited to 'src/core/hle/kernel')
-rw-r--r--src/core/hle/kernel/thread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp
index a1a7867ce..cf4f94822 100644
--- a/src/core/hle/kernel/thread.cpp
+++ b/src/core/hle/kernel/thread.cpp
@@ -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) {