1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-29 03:52:12 +00:00

Kernel: Rename SpinLockProtectedValue<T> => SpinLockProtected<T>

This commit is contained in:
Andreas Kling 2021-08-22 00:28:07 +02:00
parent 532ffa7ddb
commit ed6f84c2c9
14 changed files with 28 additions and 27 deletions

View file

@ -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