Apple Interview Question

Ex: Debugging with gdb, semaphores/ mutexes