diff options
Diffstat (limited to 'src/core/hle/kernel/thread.h')
| -rw-r--r-- | src/core/hle/kernel/thread.h | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h index 83c83e45a..c340a801d 100644 --- a/src/core/hle/kernel/thread.h +++ b/src/core/hle/kernel/thread.h | |||
| @@ -30,12 +30,21 @@ enum ThreadPriority : u32 { | |||
| 30 | }; | 30 | }; |
| 31 | 31 | ||
| 32 | enum ThreadProcessorId : s32 { | 32 | enum ThreadProcessorId : s32 { |
| 33 | THREADPROCESSORID_IDEAL = -2, ///< Run thread on the ideal core specified by the process. | 33 | /// Indicates that no particular processor core is preferred. |
| 34 | THREADPROCESSORID_0 = 0, ///< Run thread on core 0 | 34 | THREADPROCESSORID_DONT_CARE = -1, |
| 35 | THREADPROCESSORID_1 = 1, ///< Run thread on core 1 | 35 | |
| 36 | THREADPROCESSORID_2 = 2, ///< Run thread on core 2 | 36 | /// Run thread on the ideal core specified by the process. |
| 37 | THREADPROCESSORID_3 = 3, ///< Run thread on core 3 | 37 | THREADPROCESSORID_IDEAL = -2, |
| 38 | THREADPROCESSORID_MAX = 4, ///< Processor ID must be less than this | 38 | |
| 39 | /// Indicates that the preferred processor ID shouldn't be updated in | ||
| 40 | /// a core mask setting operation. | ||
| 41 | THREADPROCESSORID_DONT_UPDATE = -3, | ||
| 42 | |||
| 43 | THREADPROCESSORID_0 = 0, ///< Run thread on core 0 | ||
| 44 | THREADPROCESSORID_1 = 1, ///< Run thread on core 1 | ||
| 45 | THREADPROCESSORID_2 = 2, ///< Run thread on core 2 | ||
| 46 | THREADPROCESSORID_3 = 3, ///< Run thread on core 3 | ||
| 47 | THREADPROCESSORID_MAX = 4, ///< Processor ID must be less than this | ||
| 39 | 48 | ||
| 40 | /// Allowed CPU mask | 49 | /// Allowed CPU mask |
| 41 | THREADPROCESSORID_DEFAULT_MASK = (1 << THREADPROCESSORID_0) | (1 << THREADPROCESSORID_1) | | 50 | THREADPROCESSORID_DEFAULT_MASK = (1 << THREADPROCESSORID_0) | (1 << THREADPROCESSORID_1) | |