If a thread attempts a P operation when a counting semaphore has been decremented to zero, ________.

a) the thread obtains a resource from the pool and decrements the semaphore to -1
b) the thread obtains a resource from the pool and the semaphore remains equal to 0
c) the thread must wait until a resource is returned to the pool by a V operation
d) the thread returns a resource to the pool and increments the semaphore to 1


c) the thread must wait until a resource is returned to the pool by a V operation

Computer Science & Information Technology

You might also like to view...

The command to switch from telnet screen to remote host screen is:

a: switch b: Ctrl-] c: [Esc] (Escape key) d: s e: [Return]

Computer Science & Information Technology

To display the horizontal ruler use the _____ tab.

A. INSERT B. DESIGN C. VIEW D. REVIEW

Computer Science & Information Technology

Data contained in common fields across tables do not need to have the same data type

Indicate whether the statement is true or false

Computer Science & Information Technology

One popular ______________ service is AT&T?s U-verse, which generally offers download speeds from 1 to 75 Mbps and upload speeds from 384 Kbps to 8 Mbps.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology