Which of the following statements about semaphores is true?

a) P and V operations should be indivisible operations.
b) If several threads attempt a P( S ) operation simultaneously, only one thread should be allowed to proceed.
c) A semaphore implementation should guarantee that threads do not suffer indefinite postponement.
d) all of the above


d) all of the above

Computer Science & Information Technology

You might also like to view...

A binary tree traversal method that visits the root first and then recursively traverses the left and right subtrees is called

A) top down traversal B) priority order traversal C) preorder traversal D) postorder traversal

Computer Science & Information Technology

Examine the overall size of your game on screen (pixel by pixel). What percentage of your screen real estate should be dedicated to your user interface?

What will be an ideal response?

Computer Science & Information Technology

The OR operator in Java is represented by:

(a) ! (b) && (c) | | (d) None of the above

Computer Science & Information Technology

In which contingency plan testing strategy do individuals follow each and every IR/DR/BC procedure, including the disruption of service, restoration of data from backups, and notification of appropriate individuals?

A. desk check B. simulation C. structured walk-through D. full-interruption

Computer Science & Information Technology