mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:57:35 +00:00
Kernel: Rename Condition state to Blocked now we only have one blocking mechanism :)
This commit is contained in:
parent
d2ca91c024
commit
b13f1699fc
3 changed files with 7 additions and 17 deletions
|
@ -63,10 +63,7 @@ public:
|
|||
Dying,
|
||||
Dead,
|
||||
Stopped,
|
||||
|
||||
__Begin_Blocked_States__,
|
||||
BlockedCondition,
|
||||
__End_Blocked_States__
|
||||
Blocked,
|
||||
};
|
||||
|
||||
class Blocker {
|
||||
|
@ -176,7 +173,7 @@ public:
|
|||
bool is_stopped() const { return m_state == Stopped; }
|
||||
bool is_blocked() const
|
||||
{
|
||||
return m_state > __Begin_Blocked_States__ && m_state < __End_Blocked_States__;
|
||||
return m_state == Blocked;
|
||||
}
|
||||
bool in_kernel() const { return (m_tss.cs & 0x03) == 0; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue