Kernel: Mark Thread::Blocker leaf subclasses final

This commit is contained in:
Andreas Kling 2021-08-22 15:34:16 +02:00
parent 53019f413c
commit 8000e8a080
Notes: sideshowbarker 2024-07-18 05:22:37 +09:00
2 changed files with 3 additions and 3 deletions

View file

@ -18,7 +18,7 @@ namespace Kernel {
static Singleton<MutexProtected<HashMap<IPv4Address, MACAddress>>> s_arp_table;
class ARPTableBlocker : public Thread::Blocker {
class ARPTableBlocker final : public Thread::Blocker {
public:
ARPTableBlocker(IPv4Address ip_addr, Optional<MACAddress>& addr);

View file

@ -525,7 +525,7 @@ public:
bool m_should_block { true };
};
class QueueBlocker : public Blocker {
class QueueBlocker final : public Blocker {
public:
explicit QueueBlocker(WaitQueue&, StringView block_reason = {});
virtual ~QueueBlocker();
@ -547,7 +547,7 @@ public:
bool m_did_unblock { false };
};
class FutexBlocker : public Blocker {
class FutexBlocker final : public Blocker {
public:
explicit FutexBlocker(FutexQueue&, u32);
virtual ~FutexBlocker();