summaryrefslogtreecommitdiff
path: root/Kernel/Thread.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-08-22 00:28:07 +0200
committerAndreas Kling <kling@serenityos.org>2021-08-22 03:34:09 +0200
commited6f84c2c96dc5f850a51077e5c5a02fbe29d96b (patch)
treed61384a3b3159f8422febc738409dcd336993626 /Kernel/Thread.h
parent532ffa7ddba18fb3b04c787988599aca73a4d789 (diff)
downloadserenity-ed6f84c2c96dc5f850a51077e5c5a02fbe29d96b.zip
Kernel: Rename SpinLockProtectedValue<T> => SpinLockProtected<T>
Diffstat (limited to 'Kernel/Thread.h')
-rw-r--r--Kernel/Thread.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Thread.h b/Kernel/Thread.h
index 602058b4da..4007d4f5ba 100644
--- a/Kernel/Thread.h
+++ b/Kernel/Thread.h
@@ -27,7 +27,7 @@
#include <Kernel/Library/ListedRefCounted.h>
#include <Kernel/Locking/LockLocation.h>
#include <Kernel/Locking/LockMode.h>
-#include <Kernel/Locking/SpinLockProtectedValue.h>
+#include <Kernel/Locking/SpinLockProtected.h>
#include <Kernel/Memory/VirtualRange.h>
#include <Kernel/Scheduler.h>
#include <Kernel/TimerQueue.h>
@@ -1389,7 +1389,7 @@ public:
using ListInProcess = IntrusiveList<Thread, RawPtr<Thread>, &Thread::m_process_thread_list_node>;
using GlobalList = IntrusiveList<Thread, RawPtr<Thread>, &Thread::m_global_thread_list_node>;
- static SpinLockProtectedValue<GlobalList>& all_instances();
+ static SpinLockProtected<GlobalList>& all_instances();
};
AK_ENUM_BITWISE_OPERATORS(Thread::FileBlocker::BlockFlags);