Kernel: Address Feedback 2

This commit is contained in:
Fernando Sahmkow 2019-10-12 10:38:55 -04:00 committed by FernandoS27
parent a3524879be
commit e28c7f5217
2 changed files with 6 additions and 9 deletions

View file

@ -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>>;