Kernel: Mark a handful of things in Thread.cpp READONLY_AFTER_INIT

This commit is contained in:
Andreas Kling 2021-02-14 17:40:34 +01:00
parent c5c68bbd84
commit 49f463f557
Notes: sideshowbarker 2024-07-18 22:18:55 +09:00

View File

@ -46,7 +46,7 @@
namespace Kernel {
SpinLock<u8> Thread::g_tid_map_lock;
HashMap<ThreadID, Thread*>* Thread::g_tid_map;
READONLY_AFTER_INIT HashMap<ThreadID, Thread*>* Thread::g_tid_map;
void Thread::initialize()
{