mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:28:11 +00:00
Kernel: Specify a lock rank for Thread::m_lock
This commit is contained in:
parent
f6b1517426
commit
88c27fc38e
1 changed files with 1 additions and 1 deletions
|
@ -1276,7 +1276,7 @@ private:
|
|||
void relock_process(LockMode, u32);
|
||||
void reset_fpu_state();
|
||||
|
||||
mutable RecursiveSpinlock m_lock;
|
||||
mutable RecursiveSpinlock m_lock { LockRank::Thread };
|
||||
mutable RecursiveSpinlock m_block_lock;
|
||||
NonnullRefPtr<Process> m_process;
|
||||
ThreadID m_tid { -1 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue