Apple interview question

Ex: Debugging with gdb, semaphores/ mutexes