MathWorks interview question

RTOS, scheduling policies, priority inversion, its solution, code snippets given - guess the output, MATLAB syntax like @, : etc. Not a lot of math, at least nothing that stands out.