diff options
author | Fernando S <fsahmkow27@gmail.com> | 2022-01-03 02:01:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-03 02:01:26 +0100 |
commit | da8e0f6571095e50aa58ec5c4e3a1bd60f90c581 (patch) | |
tree | 89fba64305ac670d588576d6dab7e4e57709a11a /src/core/hle/kernel/k_thread.h | |
parent | Merge pull request #7624 from ameerj/intel-msaa-scale (diff) | |
parent | core: hle: kernel: Implement thread pinning. (diff) | |
download | yuzu-da8e0f6571095e50aa58ec5c4e3a1bd60f90c581.tar yuzu-da8e0f6571095e50aa58ec5c4e3a1bd60f90c581.tar.gz yuzu-da8e0f6571095e50aa58ec5c4e3a1bd60f90c581.tar.bz2 yuzu-da8e0f6571095e50aa58ec5c4e3a1bd60f90c581.tar.lz yuzu-da8e0f6571095e50aa58ec5c4e3a1bd60f90c581.tar.xz yuzu-da8e0f6571095e50aa58ec5c4e3a1bd60f90c581.tar.zst yuzu-da8e0f6571095e50aa58ec5c4e3a1bd60f90c581.zip |
Diffstat (limited to 'src/core/hle/kernel/k_thread.h')
-rw-r--r-- | src/core/hle/kernel/k_thread.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_thread.h b/src/core/hle/kernel/k_thread.h index c8a08bd71..83dfde69b 100644 --- a/src/core/hle/kernel/k_thread.h +++ b/src/core/hle/kernel/k_thread.h @@ -307,6 +307,10 @@ public: return parent != nullptr; } + u16 GetUserDisableCount() const; + void SetInterruptFlag(); + void ClearInterruptFlag(); + [[nodiscard]] KThread* GetLockOwner() const { return lock_owner; } @@ -490,7 +494,7 @@ public: this->GetStackParameters().disable_count--; } - void Pin(); + void Pin(s32 current_core); void Unpin(); |