1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:17:44 +00:00

Kernel: Remove old block(State) API

New API should be used always :)
This commit is contained in:
Robin Burchell 2019-07-19 09:57:35 +02:00 committed by Andreas Kling
parent 762333ba95
commit 99c5377653
2 changed files with 6 additions and 5 deletions

View file

@ -208,7 +208,6 @@ public:
u32 ticks() const { return m_ticks; }
u64 sleep(u32 ticks);
void block(Thread::State);
void block(Blocker& blocker);
void unblock();
@ -299,6 +298,8 @@ private:
State m_state { Invalid };
bool m_has_used_fpu { false };
bool m_was_interrupted_while_blocked { false };
void block_helper();
};
HashTable<Thread*>& thread_table();