What happens when a thread calls P( S ) when it wants to enter its critical section, where S is a binary semaphore set to 1?
a) The thread is allowed to enter its critical section and S is decremented.
b) The thread is blocked and added to a queue of waiting threads.
c) The semaphore is set to 2.
d) none of the above
a) The thread is allowed to enter its critical section and S is decremented.
Computer Science & Information Technology
You might also like to view...
In Project 2013, related tasks that further define summary tasks are called ________
A) subtasks B) summarized tasks C) team tasks D) indented tasks
Computer Science & Information Technology
?Identify a CSS3 2D transformation function that resizes an object by a factor of x horizontally.
A. ?rotate(angleY) B. ?skewY(angleY) C. ?scaleY(y) D. ?translateY(offY)
Computer Science & Information Technology