diff options
| author | 2018-08-13 13:56:41 +0200 | |
|---|---|---|
| committer | 2018-08-13 13:56:41 +0200 | |
| commit | eab35c8235955a4f433a42c93ef92b1a44b9c033 (patch) | |
| tree | 7f2a69b135356f49b7565004e7b277fa6d375c8b /src/core/hle/kernel/thread.cpp | |
| parent | Merge pull request #1032 from lioncash/sanitize (diff) | |
| download | yuzu-eab35c8235955a4f433a42c93ef92b1a44b9c033.tar.gz yuzu-eab35c8235955a4f433a42c93ef92b1a44b9c033.tar.xz yuzu-eab35c8235955a4f433a42c93ef92b1a44b9c033.zip | |
Core::CoreTiming: add UnscheduleEventThreadsafe
Diffstat (limited to 'src/core/hle/kernel/thread.cpp')
| -rw-r--r-- | src/core/hle/kernel/thread.cpp | 2 |
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) { | |||
| 167 | } | 167 | } |
| 168 | 168 | ||
| 169 | void Thread::CancelWakeupTimer() { | 169 | void Thread::CancelWakeupTimer() { |
| 170 | CoreTiming::UnscheduleEvent(ThreadWakeupEventType, callback_handle); | 170 | CoreTiming::UnscheduleEventThreadsafe(ThreadWakeupEventType, callback_handle); |
| 171 | } | 171 | } |
| 172 | 172 | ||
| 173 | static boost::optional<s32> GetNextProcessorId(u64 mask) { | 173 | static boost::optional<s32> GetNextProcessorId(u64 mask) { |