RTOS Scheduler Simulator
Watch preemption and priority inversion, tick by tick. Three tasks of high, medium and low priority share a mutex. Step through the timeline to see preemption, then the classic priority-inversion problem — and how priority inheritance fixes it.