MathWorks interview question

Scheduler - Mutex, Semaphore, Spin Lock