Which of the following statements about critical sections is false?
A) Only one thread at a time can execute the instructions in its critical section for a particular resource.
B) If one thread is already in its critical section, another thread must wait for the executing thread to exit its critical section before continuing.
C) Once a thread has exited its critical section, a waiting thread may enter its critical section.
D) All threads must wait whenever any critical section is occupied.
Correct Answer:
Verified
Q2: Preventing more than one thread from accessing
Q3: _ restricts access to a shared variable
Q4: An example of a producer/consumer relationship is
Q5: In Java, Object method notify transitions a
Q6: In Java, the sleep method call must
Q8: Code inside a critical section should _.
A)
Q9: The constructs that encapsulate a thread's critical
Q10: Which property of mutual exclusion primitives is
Q11: A thread that uses processor cycles to
Q12: Lockstep synchronization does not _.
A) occur when
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents