Expand description
Scheduler module
The scheduler module is responsible for scheduling tasks on the CPU. Currently, the scheduler is a simple round-robin scheduler with separate queues for different task states to improve efficiency:
ready_queue
: Tasks that are ready to runblocked_queue
: Tasks waiting for I/O or other eventszombie_queue
: Finished tasks waiting to be cleaned up
This separation avoids unnecessary iteration over blocked/zombie tasks during normal scheduling operations.