mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-28 05:34:11 -04:00
kern: update pinned thread priority rules
This commit is contained in:
parent
1b2cf173b3
commit
e64fef109c
2 changed files with 43 additions and 2 deletions
|
@ -209,6 +209,7 @@ namespace ams::kern {
|
|||
Result m_wait_result;
|
||||
Result m_debug_exception_result;
|
||||
s32 m_base_priority{};
|
||||
s32 m_base_priority_on_unpin{};
|
||||
s32 m_physical_ideal_core_id{};
|
||||
s32 m_virtual_ideal_core_id{};
|
||||
s32 m_num_kernel_waiters{};
|
||||
|
@ -346,6 +347,8 @@ namespace ams::kern {
|
|||
|
||||
void StartTermination();
|
||||
void FinishTermination();
|
||||
|
||||
void IncreaseBasePriority(s32 priority);
|
||||
public:
|
||||
constexpr u64 GetThreadId() const { return m_thread_id; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue