mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:48:10 +00:00
Kernel: Rename SpinLock => Spinlock
This commit is contained in:
parent
7d5d26b048
commit
55adace359
110 changed files with 491 additions and 491 deletions
|
@ -474,7 +474,7 @@ private:
|
|||
process_object.add("kernel", process.is_kernel_process());
|
||||
auto thread_array = process_object.add_array("threads");
|
||||
process.for_each_thread([&](const Thread& thread) {
|
||||
ScopedSpinLock locker(thread.get_lock());
|
||||
ScopedSpinlock locker(thread.get_lock());
|
||||
auto thread_object = thread_array.add_object();
|
||||
#if LOCK_DEBUG
|
||||
thread_object.add("lock_count", thread.lock_count());
|
||||
|
@ -500,7 +500,7 @@ private:
|
|||
});
|
||||
};
|
||||
|
||||
ScopedSpinLock lock(g_scheduler_lock);
|
||||
ScopedSpinlock lock(g_scheduler_lock);
|
||||
{
|
||||
{
|
||||
auto array = json.add_array("processes");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue