Google DeepMind interview question

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