mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 19:04:58 +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:
@@ -162,7 +162,7 @@ Thread::FutexBlocker::~FutexBlocker()
|
||||
|
||||
void Thread::FutexBlocker::finish_requeue(FutexQueue& futex_queue)
|
||||
{
|
||||
VERIFY(m_lock.is_locked_by_current_thread());
|
||||
VERIFY(m_lock.is_locked_by_current_processor());
|
||||
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