summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/scheduler.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-05-08 04:12:45 +0200
committerbunnei <bunneidev@gmail.com>2018-05-11 01:34:52 +0200
commit91af2f94e85e433cb8cca8648e52ac91beae7471 (patch)
tree14d80a5456ac26fee046e37beb3f18b72c4685ee /src/core/hle/kernel/scheduler.h
parentwait_tree: Add ideal core and affinity mask. (diff)
downloadyuzu-91af2f94e85e433cb8cca8648e52ac91beae7471.tar
yuzu-91af2f94e85e433cb8cca8648e52ac91beae7471.tar.gz
yuzu-91af2f94e85e433cb8cca8648e52ac91beae7471.tar.bz2
yuzu-91af2f94e85e433cb8cca8648e52ac91beae7471.tar.lz
yuzu-91af2f94e85e433cb8cca8648e52ac91beae7471.tar.xz
yuzu-91af2f94e85e433cb8cca8648e52ac91beae7471.tar.zst
yuzu-91af2f94e85e433cb8cca8648e52ac91beae7471.zip
Diffstat (limited to 'src/core/hle/kernel/scheduler.h')
-rw-r--r--src/core/hle/kernel/scheduler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/kernel/scheduler.h b/src/core/hle/kernel/scheduler.h
index 27d0247d6..a3b5fb8ca 100644
--- a/src/core/hle/kernel/scheduler.h
+++ b/src/core/hle/kernel/scheduler.h
@@ -4,6 +4,7 @@
#pragma once
+#include <mutex>
#include <vector>
#include "common/common_types.h"
#include "common/thread_queue_list.h"
@@ -68,6 +69,8 @@ private:
SharedPtr<Thread> current_thread = nullptr;
ARM_Interface* cpu_core;
+
+ static std::mutex scheduler_mutex;
};
} // namespace Kernel