Question - Tell us something about Mutex.
Answer -
Mutex - ‘Mutual Exclusion Lock’ is a lock which protects access to shared data resource.
Threads can create and initialize a mutex to be used later.
Before entering a critical region the mutex is locked. It is unlocked after exiting the critical region. If any thread tries to lock the mutex during this time, it can't do so.