mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-22 15:44:45 +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:
@@ -162,7 +162,7 @@ Thread::FutexBlocker::~FutexBlocker()
|
||||
|
||||
void Thread::FutexBlocker::finish_requeue(FutexQueue& futex_queue)
|
||||
{
|
||||
VERIFY(m_lock.own_lock());
|
||||
VERIFY(m_lock.is_locked_by_current_thread());
|
||||
set_blocker_set_raw_locked(&futex_queue);
|
||||
// We can now release the lock
|
||||
m_lock.unlock(m_relock_flags);
|
||||
|
||||
Reference in New Issue
Block a user