Kernel: remove Semaphore::is_blocked

this will not mean anything after semaphores can spuriously wake up
This commit is contained in:
Bananymous
2023-07-24 22:23:13 +03:00
parent cd64c1cfec
commit 57798e5d76
3 changed files with 1 additions and 15 deletions

View File

@@ -8,15 +8,6 @@ namespace Kernel
public:
void block();
void unblock();
bool is_blocked() const { return m_blocked; }
private:
void set_blocked(bool blocked) { m_blocked = blocked; }
private:
bool m_blocked { false };
friend class Scheduler;
};
}