Priority Inversion Caused by Competing Thread
Busy thread preempts MP3 decoder while holding Kmixer buffer lock
Kmixer misses next two time slots (x)
Starves, causes audio glitch
Fix: raise decoder priority before grabbing lock
x
x
Previous slide
Next slide
Back to first slide
View graphic version