mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 16:28:11 +00:00
Kernel: Add magic key combo (Alt+Shift+F12) to dump scheduler state
Pressing this combo will dump a list of all threads and their state to the debug console. This might be useful to figure out why the system is not responding.
This commit is contained in:
parent
685556ae84
commit
24dcd99e4b
3 changed files with 55 additions and 23 deletions
|
@ -70,6 +70,7 @@ public:
|
|||
static Thread& pull_next_runnable_thread();
|
||||
static bool dequeue_runnable_thread(Thread&, bool = false);
|
||||
static void queue_runnable_thread(Thread&);
|
||||
static void dump_scheduler_state();
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue