Domanda di colloquio di Monzo Bank

What is Mutex? How to implement one?

Risposta di colloquio

Anonimo

28 gen 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