Monzo Bank interview question

What is Mutex? How to implement one?

Interview Answer

Anonymous

28 Jan 2021

Mutex is a synchronization tool that is used to protect critical regions and thus prevent race conditions. That is a thread must acquire a lock before entering into a critical section and release it when it leaves the critical section.

5