Palo Alto Networks interview question

mutex and semaphores