diff options
author | Andreas Kling <kling@serenityos.org> | 2021-08-23 00:10:33 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-08-23 00:10:33 +0200 |
commit | 40bc378d81ba9b378e505621291d5d5145a58bcc (patch) | |
tree | 1256bd10f6667f3d684bb85c1f01c0ca8e2a9e11 /Kernel/WaitQueue.h | |
parent | b30081b49ac91953073fec0420652cb605a85388 (diff) | |
download | serenity-40bc378d81ba9b378e505621291d5d5145a58bcc.zip |
Kernel: Rename QueueBlocker => WaitQueueBlocker
This is a Thread::Blocker that blocks on a WaitQueue, so let's call it
a WaitQueueBlocker to improve clarity. :^)
Diffstat (limited to 'Kernel/WaitQueue.h')
-rw-r--r-- | Kernel/WaitQueue.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/WaitQueue.h b/Kernel/WaitQueue.h index b093feeea8..c3c99ac3dc 100644 --- a/Kernel/WaitQueue.h +++ b/Kernel/WaitQueue.h @@ -27,13 +27,13 @@ public: template<class... Args> Thread::BlockResult wait_on(const Thread::BlockTimeout& timeout, Args&&... args) { - return Thread::current()->block<Thread::QueueBlocker>(timeout, *this, forward<Args>(args)...); + return Thread::current()->block<Thread::WaitQueueBlocker>(timeout, *this, forward<Args>(args)...); } template<class... Args> void wait_forever(Args&&... args) { - (void)Thread::current()->block<Thread::QueueBlocker>({}, *this, forward<Args>(args)...); + (void)Thread::current()->block<Thread::WaitQueueBlocker>({}, *this, forward<Args>(args)...); } protected: |