mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:07:44 +00:00
Kernel: Mark BlockCondition subclasses as final
This commit is contained in:
parent
bcd2025311
commit
53019f413c
6 changed files with 6 additions and 6 deletions
|
@ -21,7 +21,7 @@ namespace Kernel {
|
||||||
|
|
||||||
class File;
|
class File;
|
||||||
|
|
||||||
class FileBlockCondition : public Thread::BlockCondition {
|
class FileBlockCondition final : public Thread::BlockCondition {
|
||||||
public:
|
public:
|
||||||
FileBlockCondition() { }
|
FileBlockCondition() { }
|
||||||
|
|
||||||
|
|
|
@ -50,7 +50,7 @@ private:
|
||||||
|
|
||||||
class Blocker;
|
class Blocker;
|
||||||
|
|
||||||
class Plan9FSBlockCondition : public Thread::BlockCondition {
|
class Plan9FSBlockCondition final : public Thread::BlockCondition {
|
||||||
public:
|
public:
|
||||||
Plan9FSBlockCondition(Plan9FS& fs)
|
Plan9FSBlockCondition(Plan9FS& fs)
|
||||||
: m_fs(fs)
|
: m_fs(fs)
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
namespace Kernel {
|
namespace Kernel {
|
||||||
|
|
||||||
class FutexQueue
|
class FutexQueue final
|
||||||
: public RefCounted<FutexQueue>
|
: public RefCounted<FutexQueue>
|
||||||
, public Thread::BlockCondition {
|
, public Thread::BlockCondition {
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -55,7 +55,7 @@ private:
|
||||||
bool m_should_block { true };
|
bool m_should_block { true };
|
||||||
};
|
};
|
||||||
|
|
||||||
class ARPTableBlockCondition : public Thread::BlockCondition {
|
class ARPTableBlockCondition final : public Thread::BlockCondition {
|
||||||
public:
|
public:
|
||||||
void unblock(const IPv4Address& ip_addr, const MACAddress& addr)
|
void unblock(const IPv4Address& ip_addr, const MACAddress& addr)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1225,7 +1225,7 @@ private:
|
||||||
|
|
||||||
friend class WaitQueue;
|
friend class WaitQueue;
|
||||||
|
|
||||||
class JoinBlockCondition : public BlockCondition {
|
class JoinBlockCondition final : public BlockCondition {
|
||||||
public:
|
public:
|
||||||
void thread_did_exit(void* exit_value)
|
void thread_did_exit(void* exit_value)
|
||||||
{
|
{
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
namespace Kernel {
|
namespace Kernel {
|
||||||
|
|
||||||
class WaitQueue : public Thread::BlockCondition {
|
class WaitQueue final : public Thread::BlockCondition {
|
||||||
public:
|
public:
|
||||||
u32 wake_one();
|
u32 wake_one();
|
||||||
u32 wake_n(u32 wake_count);
|
u32 wake_n(u32 wake_count);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue