Question: QUESTION 9 Please select all the correct answers associated with the synchronization primitives covered in class A Condition variable does not have a value associated

QUESTION 9 Please select all the correct answers associated with the synchronization primitives covered in class A Condition variable does not have a value associated with it but it has to be associated with a Lock A Semaphore has a value (integer) and two atomic operations. One of the operations increases the value of the Semaphore and may wake up a thread sleeping on the Semaphore A Lock has two states and two atomic operations A thread calling acquire on a Lock may or may not go to sleep waiting for the Lock to be free A thread calling wait on a Semaphore always goes to sleep A thread calling sleep() on a Condition variable never releases the Lock associated with it
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
