mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 06:15:07 +00:00
Kernel: Rename Spinlock::is_owned_by_current_thread()
...to is_owned_by_current_processor(). As Tom pointed out, this is much more accurate. :^)
This commit is contained in:
parent
ed0e64943f
commit
68bf6db673
11 changed files with 46 additions and 46 deletions
|
@ -236,7 +236,7 @@ NEVER_INLINE void syscall_handler(TrapFrame* trap)
|
|||
// Check if we're supposed to return to userspace or just die.
|
||||
current_thread->die_if_needed();
|
||||
|
||||
VERIFY(!g_scheduler_lock.is_locked_by_current_thread());
|
||||
VERIFY(!g_scheduler_lock.is_locked_by_current_processor());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue