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
commit f2fdac789c
Notes: sideshowbarker 2024-07-19 13:11:08 +09:00
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__: