In which semaphore, the wait operation works only if semaphore = 1, and the signal operation succeeds when semaphore= 0?

78. In which semaphore, the wait operation works only if semaphore = 1, and the signal operation succeeds when semaphore= 0?

  1. Counting semaphores
  2. Binary semaphores

Answer: B) Binary semaphores

Explanation:

In binary semaphore, the wait operation works only if semaphore = 1, and the signal operation succeeds when semaphore= 0.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.