Google DeepMind Interview Question

Q: What is a mutex Q: What does this code do (It was a convolution)