Kernel: Make Thread::m_block_timer a NonnullRefPtr

Every thread has a block timer, so let's encode that in the type.
This commit is contained in:
Andreas Kling 2021-08-23 13:14:17 +02:00
parent 226fe4b57d
commit 96909f5200
Notes: sideshowbarker 2024-07-18 05:20:45 +09:00

View file

@ -1371,7 +1371,7 @@ private:
Atomic<bool> m_have_any_unmasked_pending_signals { false };
Atomic<u32> m_nested_profiler_calls { 0 };
RefPtr<Timer> m_block_timer;
NonnullRefPtr<Timer> m_block_timer;
bool m_is_profiling_suppressed { false };