diff options
Diffstat (limited to 'src/core/hle/kernel/thread.h')
| -rw-r--r-- | src/core/hle/kernel/thread.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h index 0a3bb1183..3dda548ad 100644 --- a/src/core/hle/kernel/thread.h +++ b/src/core/hle/kernel/thread.h | |||
| @@ -120,6 +120,9 @@ public: | |||
| 120 | /// Recalculates the current priority taking into account priority inheritance. | 120 | /// Recalculates the current priority taking into account priority inheritance. |
| 121 | void UpdatePriority(); | 121 | void UpdatePriority(); |
| 122 | 122 | ||
| 123 | /// Changes the core that the thread is running or scheduled to run on. | ||
| 124 | void ChangeCore(u32 core, u64 mask); | ||
| 125 | |||
| 123 | /** | 126 | /** |
| 124 | * Gets the thread's thread ID | 127 | * Gets the thread's thread ID |
| 125 | * @return The thread's ID | 128 | * @return The thread's ID |
| @@ -244,6 +247,9 @@ public: | |||
| 244 | 247 | ||
| 245 | std::shared_ptr<Scheduler> scheduler; | 248 | std::shared_ptr<Scheduler> scheduler; |
| 246 | 249 | ||
| 250 | u32 ideal_core{0xFFFFFFFF}; | ||
| 251 | u64 mask{0x1}; | ||
| 252 | |||
| 247 | private: | 253 | private: |
| 248 | Thread(); | 254 | Thread(); |
| 249 | ~Thread() override; | 255 | ~Thread() override; |