Userland: Rename Core::Object to Core::EventReceiver

This is a more precise description of what this class actually does.
This commit is contained in:
Andreas Kling 2023-08-06 18:09:39 +02:00 committed by Jelle Raaijmakers
parent bdf696e488
commit ddbe6bd7b4
Notes: sideshowbarker 2024-07-17 01:13:25 +09:00
128 changed files with 399 additions and 401 deletions

View file

@ -12,7 +12,7 @@
namespace Threading {
Thread::Thread(Function<intptr_t()> action, StringView thread_name)
: Core::Object(nullptr)
: Core::EventReceiver(nullptr)
, m_action(move(action))
, m_thread_name(thread_name.is_null() ? ""sv : thread_name)
{