mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:37:35 +00: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
13 changed files with 52 additions and 52 deletions
|
@ -463,7 +463,7 @@ extern "C" void handle_interrupt(TrapFrame*) __attribute__((used));
|
|||
|
||||
extern "C" UNMAP_AFTER_INIT void pre_init_finished(void)
|
||||
{
|
||||
VERIFY(g_scheduler_lock.own_lock());
|
||||
VERIFY(g_scheduler_lock.is_locked_by_current_thread());
|
||||
|
||||
// Because init_finished() will wait on the other APs, we need
|
||||
// to release the scheduler lock so that the other APs can also get
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue