mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 10:01:13 +09:00
Kernel: {Mutex,Spinlock}::own_lock() => is_locked_by_current_thread()
Rename these API's to make it more clear what they are checking.
This commit is contained in:
parent
d9da513959
commit
0b4671add7
Notes:
sideshowbarker
2024-07-18 05:06:21 +09:00
Author: https://github.com/awesomekling
Commit: 0b4671add7
13 changed files with 52 additions and 52 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.own_lock());
|
||||
VERIFY(!g_scheduler_lock.is_locked_by_current_thread());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue