Qumak interview question

Mutex/semaphores ect.