diff options
author | Andreas Kling <kling@serenityos.org> | 2021-08-22 00:28:07 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-08-22 03:34:09 +0200 |
commit | ed6f84c2c96dc5f850a51077e5c5a02fbe29d96b (patch) | |
tree | d61384a3b3159f8422febc738409dcd336993626 /Kernel/Scheduler.cpp | |
parent | 532ffa7ddba18fb3b04c787988599aca73a4d789 (diff) | |
download | serenity-ed6f84c2c96dc5f850a51077e5c5a02fbe29d96b.zip |
Kernel: Rename SpinLockProtectedValue<T> => SpinLockProtected<T>
Diffstat (limited to 'Kernel/Scheduler.cpp')
-rw-r--r-- | Kernel/Scheduler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Scheduler.cpp b/Kernel/Scheduler.cpp index 426ba3546f..fd29758fe0 100644 --- a/Kernel/Scheduler.cpp +++ b/Kernel/Scheduler.cpp @@ -53,9 +53,9 @@ struct ThreadReadyQueues { Array<ThreadReadyQueue, count> queues; }; -static Singleton<SpinLockProtectedValue<ThreadReadyQueues>> g_ready_queues; +static Singleton<SpinLockProtected<ThreadReadyQueues>> g_ready_queues; -static SpinLockProtectedValue<TotalTimeScheduled> g_total_time_scheduled; +static SpinLockProtected<TotalTimeScheduled> g_total_time_scheduled; // The Scheduler::current_time function provides a current time for scheduling purposes, // which may not necessarily relate to wall time |