1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-10 05:47:34 +00:00

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
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; static Singleton<MutexProtected<HashMap<IPv4Address, MACAddress>>> s_arp_table;
class ARPTableBlocker : public Thread::Blocker { class ARPTableBlocker final : public Thread::Blocker {
public: public:
ARPTableBlocker(IPv4Address ip_addr, Optional<MACAddress>& addr); ARPTableBlocker(IPv4Address ip_addr, Optional<MACAddress>& addr);

View file

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