Which one of the following is a synchronization tool?
2023
Which one of the following is a synchronization tool?
- A.
thread
- B.
pipe
- C.
semaphore
- D.
socket
Attempted by 306 students.
Show answer & explanation
Correct answer: C
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.