mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 19:35:08 +00:00
Kernel: Make it easier to add Thread block states in the future.
This commit is contained in:
parent
302cae5c2f
commit
54e79a4640
2 changed files with 7 additions and 1 deletions
|
@ -181,6 +181,9 @@ const char* to_string(Thread::State state)
|
|||
return "Receive";
|
||||
case Thread::BlockedSnoozing:
|
||||
return "Snoozing";
|
||||
case Thread::__Begin_Blocked_States__:
|
||||
case Thread::__End_Blocked_States__:
|
||||
break;
|
||||
}
|
||||
kprintf("to_string(Thread::State): Invalid state: %u\n", state);
|
||||
ASSERT_NOT_REACHED();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue