diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-10-12 16:38:55 +0200 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2019-10-15 17:55:28 +0200 |
commit | e28c7f521765a85e27259539f0873b15c18a98f8 (patch) | |
tree | 86f1603d3bbdf08680ecf0a9886485597554c949 /src/core/hle/kernel/thread.h | |
parent | Kernel: Clang Format (diff) | |
download | yuzu-e28c7f521765a85e27259539f0873b15c18a98f8.tar yuzu-e28c7f521765a85e27259539f0873b15c18a98f8.tar.gz yuzu-e28c7f521765a85e27259539f0873b15c18a98f8.tar.bz2 yuzu-e28c7f521765a85e27259539f0873b15c18a98f8.tar.lz yuzu-e28c7f521765a85e27259539f0873b15c18a98f8.tar.xz yuzu-e28c7f521765a85e27259539f0873b15c18a98f8.tar.zst yuzu-e28c7f521765a85e27259539f0873b15c18a98f8.zip |
Diffstat (limited to 'src/core/hle/kernel/thread.h')
-rw-r--r-- | src/core/hle/kernel/thread.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h index e0f3b6204..7ee437e17 100644 --- a/src/core/hle/kernel/thread.h +++ b/src/core/hle/kernel/thread.h @@ -35,6 +35,9 @@ enum ThreadProcessorId : s32 { /// Run thread on the ideal core specified by the process. THREADPROCESSORID_IDEAL = -2, + /// when setting Core and Affiny, keeps the ideal core intact + THREADDONTCHANGE_IDEAL = -3, + /// Indicates that the preferred processor ID shouldn't be updated in /// a core mask setting operation. THREADPROCESSORID_DONT_UPDATE = -3, @@ -95,12 +98,6 @@ enum class ThreadSchedMasks : u32 { ForcePauseMask = 0x0070, }; -enum class CoreFlags : s32 { - IgnoreIdealCore = -1, - ProcessIdealCore = -2, - DontChangeIdealCore = -3, -}; - class Thread final : public WaitObject { public: using MutexWaitingThreads = std::vector<SharedPtr<Thread>>; |