diff options
author | kleines Filmröllchen <filmroellchen@serenityos.org> | 2022-08-18 21:46:28 +0200 |
---|---|---|
committer | Brian Gianforcaro <b.gianfo@gmail.com> | 2022-08-19 20:26:47 -0700 |
commit | 4314c25cf2a60f7692821b10a6e759d24ae1a1b6 (patch) | |
tree | 8b6e9c7a58afdca56b7ae02d324433884b8687da /Kernel/WorkQueue.h | |
parent | 4809dc8ec28b8573b250a112b9a7dae4cde10e86 (diff) | |
download | serenity-4314c25cf2a60f7692821b10a6e759d24ae1a1b6.zip |
Kernel: Require lock rank for Spinlock construction
All users which relied on the default constructor use a None lock rank
for now. This will make it easier to in the future remove LockRank and
actually annotate the ranks by searching for None.
Diffstat (limited to 'Kernel/WorkQueue.h')
-rw-r--r-- | Kernel/WorkQueue.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/WorkQueue.h b/Kernel/WorkQueue.h index af72199e02..e795b9d482 100644 --- a/Kernel/WorkQueue.h +++ b/Kernel/WorkQueue.h @@ -63,7 +63,7 @@ private: RefPtr<Thread> m_thread; WaitQueue m_wait_queue; - SpinlockProtected<IntrusiveList<&WorkItem::m_node>> m_items; + SpinlockProtected<IntrusiveList<&WorkItem::m_node>> m_items { LockRank::None }; }; } |