mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:38:12 +00:00
Kernel: Use a WaitQueue to implement finalizer wakeup
This gets rid of the special "Lurking" thread state and replaces it with a generic WaitQueue :^)
This commit is contained in:
parent
5a45376180
commit
8bb98aa31b
5 changed files with 9 additions and 9 deletions
|
@ -209,7 +209,6 @@ public:
|
|||
class SemiPermanentBlocker final : public Blocker {
|
||||
public:
|
||||
enum class Reason {
|
||||
Lurking,
|
||||
Signal,
|
||||
};
|
||||
|
||||
|
@ -218,8 +217,6 @@ public:
|
|||
virtual const char* state_string() const override
|
||||
{
|
||||
switch (m_reason) {
|
||||
case Reason::Lurking:
|
||||
return "Lurking";
|
||||
case Reason::Signal:
|
||||
return "Signal";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue