45. Which one of the following is a synchronization tool?

a) thread
b) pipe
c) semaphore
d) socket

Answer: c
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.

Leave a Reply

Your email address will not be published.