No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
Mutual exclusion
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
Inter-process communication
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
Messaging
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is A Mutual exclusion
Semaphore is a variable or abstract data type used to control access to a common resource by multiple processes in a concurrent system like multitasking operating system.
Semaphores are used to solve a problem of race condition, mutual exclusion, process synchronization. There are some arguments semaphores does not gurantee freedom from race condition. Mutual exclusion is a program object that prevents simultaneous access to a shared resource. Semaphore used for signaling between threads.