summaryrefslogtreecommitdiff
path: root/Kernel/Thread.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-08-23 01:22:38 +0200
committerAndreas Kling <kling@serenityos.org>2021-08-23 01:42:04 +0200
commite51a5e2d5defad8d62f6cee07892821700b9e211 (patch)
treeb923f936c6e7a6b1b678fcccd270bfb84b25ecb7 /Kernel/Thread.cpp
parent63f9b0d0dc5bdef241d7c84a1b3a9d2093bd5499 (diff)
downloadserenity-e51a5e2d5defad8d62f6cee07892821700b9e211.zip
Kernel: Rename some BlockerSets to foo_blocker_set
Cleanup after renaming BlockCondition to BlockerSet.
Diffstat (limited to 'Kernel/Thread.cpp')
-rw-r--r--Kernel/Thread.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Thread.cpp b/Kernel/Thread.cpp
index 9d5c8c7489..db39778107 100644
--- a/Kernel/Thread.cpp
+++ b/Kernel/Thread.cpp
@@ -386,7 +386,7 @@ void Thread::die_if_needed()
void Thread::exit(void* exit_value)
{
VERIFY(Thread::current() == this);
- m_join_condition.thread_did_exit(exit_value);
+ m_join_blocker_set.thread_did_exit(exit_value);
set_should_die();
u32 unlock_count;
[[maybe_unused]] auto rc = unlock_process_if_locked(unlock_count);
@@ -511,7 +511,7 @@ void Thread::finalize()
SpinlockLocker lock(g_scheduler_lock);
dbgln_if(THREAD_DEBUG, "Finalizing thread {}", *this);
set_state(Thread::State::Dead);
- m_join_condition.thread_finalizing();
+ m_join_blocker_set.thread_finalizing();
}
if (m_dump_backtrace_on_finalization)