mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-15 23:09:05 +00:00
Kernel: Specify a lock rank for Thread::m_lock
This commit is contained in:
parent
f6b1517426
commit
88c27fc38e
Notes:
sideshowbarker
2024-07-18 04:32:27 +09:00
Author: https://github.com/bgianfo
Commit: 88c27fc38e
Pull-request: https://github.com/SerenityOS/serenity/pull/9875
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