The mutex is known as Mutual Exclusion. This is usually used by tasks for giving exclusive access to a shared resource. It can be used for multiple tasks or threads in a system.

BY Best Interview Question ON 23 Mar 2019