1
Fork 0
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:
Andreas Kling 2021-04-18 19:57:17 +02:00
parent 685556ae84
commit 24dcd99e4b
3 changed files with 55 additions and 23 deletions

View file

@ -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();
};
}