Question discussion

A semaphore is an integer variable that, apart from initialization, is accessed only through which of the following standard atomic operati…

3509Medium DSSSB TGT Computer Science 0 replies 2 views
0

A semaphore is an integer variable that, apart from initialization, is accessed only through which of the following standard atomic operation?

  • Arelease ( )
  • Block ( )
  • Cacquire ( )
  • Dsignal ( )
Correct answer: D

Explanation

A semaphore is accessed only through the atomic operations wait() and signal().

Discussion 0

Nobody has replied yet. Start the discussion!