Kernel: Add a new block state for accept() on a blocking socket

Rather than asserting, which really ruins everyone's day.
This commit is contained in:
Robin Burchell
2019-07-18 10:39:00 +02:00
committed by Andreas Kling
parent 79a6312c8f
commit f2fdac789c
4 changed files with 22 additions and 2 deletions

View File

@@ -179,6 +179,8 @@ const char* to_string(Thread::State state)
return "Connect";
case Thread::BlockedReceive:
return "Receive";
case Thread::BlockedAccept:
return "Accepting";
case Thread::BlockedCondition:
return "Condition";
case Thread::__Begin_Blocked_States__: