summaryrefslogtreecommitdiff
path: root/Kernel/Thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Thread.h')
-rw-r--r--Kernel/Thread.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Kernel/Thread.h b/Kernel/Thread.h
index 64916838d5..7b75b2a2b4 100644
--- a/Kernel/Thread.h
+++ b/Kernel/Thread.h
@@ -819,7 +819,7 @@ public:
while (state() == Thread::Stopped) {
lock.unlock();
// We shouldn't be holding the big lock here
- yield_while_not_holding_big_lock();
+ yield_assuming_not_holding_big_lock();
lock.lock();
}
}
@@ -905,7 +905,7 @@ public:
// Yield to the scheduler, and wait for us to resume unblocked.
VERIFY(!g_scheduler_lock.own_lock());
VERIFY(Processor::current().in_critical());
- yield_while_not_holding_big_lock();
+ yield_assuming_not_holding_big_lock();
VERIFY(Processor::current().in_critical());
ScopedSpinLock block_lock2(m_block_lock);
@@ -1341,8 +1341,8 @@ private:
bool m_is_profiling_suppressed { false };
- void yield_without_holding_big_lock();
- void yield_while_not_holding_big_lock();
+ void yield_and_release_relock_big_lock();
+ void yield_assuming_not_holding_big_lock();
void drop_thread_count(bool);
};