diff options
| author | 2020-02-25 13:22:11 -0400 | |
|---|---|---|
| committer | 2020-06-27 11:35:12 -0400 | |
| commit | 589f9cf108d306e8265ff4856b522cd32fbc121f (patch) | |
| tree | d9e78acb03901cdbbc3f7649b03048f7cd946f06 /src/core/hle/kernel/thread.h | |
| parent | SVC: Correct CreateThread, StartThread, ExitThread, SleepThread. (diff) | |
| download | yuzu-589f9cf108d306e8265ff4856b522cd32fbc121f.tar.gz yuzu-589f9cf108d306e8265ff4856b522cd32fbc121f.tar.xz yuzu-589f9cf108d306e8265ff4856b522cd32fbc121f.zip | |
SVC: Correct GetThreadPriority, SetThreadPriority, GetThreadCoreMask, SetThreadCoreMask, GetCurrentProcessorNumber
Diffstat (limited to 'src/core/hle/kernel/thread.h')
| -rw-r--r-- | src/core/hle/kernel/thread.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h index 78a4357b0..29fe5483b 100644 --- a/src/core/hle/kernel/thread.h +++ b/src/core/hle/kernel/thread.h | |||
| @@ -221,7 +221,7 @@ public: | |||
| 221 | void UpdatePriority(); | 221 | void UpdatePriority(); |
| 222 | 222 | ||
| 223 | /// Changes the core that the thread is running or scheduled to run on. | 223 | /// Changes the core that the thread is running or scheduled to run on. |
| 224 | void ChangeCore(u32 core, u64 mask); | 224 | ResultCode SetCoreAndAffinityMask(s32 new_core, u64 new_affinity_mask); |
| 225 | 225 | ||
| 226 | /** | 226 | /** |
| 227 | * Gets the thread's thread ID | 227 | * Gets the thread's thread ID |
| @@ -522,7 +522,6 @@ private: | |||
| 522 | 522 | ||
| 523 | void SetSchedulingStatus(ThreadSchedStatus new_status); | 523 | void SetSchedulingStatus(ThreadSchedStatus new_status); |
| 524 | void SetCurrentPriority(u32 new_priority); | 524 | void SetCurrentPriority(u32 new_priority); |
| 525 | ResultCode SetCoreAndAffinityMask(s32 new_core, u64 new_affinity_mask); | ||
| 526 | 525 | ||
| 527 | void AdjustSchedulingOnAffinity(u64 old_affinity_mask, s32 old_core); | 526 | void AdjustSchedulingOnAffinity(u64 old_affinity_mask, s32 old_core); |
| 528 | 527 | ||