Arm interview question

How is a mutex implemented in Linux?