1.

Which one of the following is a synchronization tool?(a) thread(b) pipe(c) semaphore(d) socketI have been asked this question by my college professor while I was bunking the class.My question is taken from Process Synchronization topic in division Processes of Operating System

Answer»

The correct OPTION is (c) semaphore

Easy 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.



Discussion

No Comment Found

Related InterviewSolutions