Which one of the following is a synchronization tool?

2023

Which one of the following is a synchronization tool?

  1. A.

    thread

  2. B.

    pipe

  3. C.

    semaphore

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

Explore the full course: Hexaware Preparation