MCQs City stays free thanks to ads. Please turn off your ad blocker for this site so content and features keep working.
Operating System
Process Synchronization
Q
Which one of the following is a synchronization tool?
AA. Thread
BB. Pipe
CC. Semaphore
DD. Socket
Correct Answer:
C. C. Semaphore
Explanation:
Semaphore is a synchronization tool. Semaphore is a mechanism which synchronizes or controls access of threads on critical resources. There are two types of semaphores i) Binary Semaphore ii) Counting Semaphore.