720 views
0 votes
0 votes
Which of the following statements is false?
a) Disjoint processes need not use critical section
b) Programs with critical sections can never be use simultaneously by more than one process
c) A process wanting to enter the critical section currently in use must wait for the process utilizing the critical section to terminate
d) Two different critical sections may be executed concurrently if they do not use the same shared variables

2 Answers

2 votes
2 votes
Multiple processes can access and execute non-overlapping critical sections simultaneously, as long as they do not use the same shared variables. The purpose of a critical section is to protect shared resources and prevent race conditions between processes, but it does not prevent concurrent execution of critical sections by different processes.

 

So option B.
0 votes
0 votes
b

Related questions

0 votes
0 votes
1 answer
1
N3314nch41 asked Sep 10, 2023
368 views
How to approach synchronization (specifically semaphore) question, there size are really intimidating and i’m unable to decode the code written? What to do??
0 votes
0 votes
0 answers
2
Nirmal Gaur asked Dec 19, 2018
558 views
Does Progress implies freedom from Deadlock?