5,454 views

4 Answers

Best answer
10 votes
10 votes

Critical Section is a code segment that accesses shared variables and has to be executed as an atomic action. It means that in a group of cooperating processes, at a given point of time, only one process must be executing its critical section.

option A will be answer...

selected by
2 votes
2 votes
I think it is ambiguous, there are cases where more than one processes can be present in critical section and do execution.

Although, the final result will be wrong. But, it not always the case that a Critical region(CS) is a piece of code which only one

process executes at a time.
0 votes
0 votes
a) is apiece of code which only one process executes at a time
Answer:

Related questions

6 votes
6 votes
3 answers
1
sh!va asked May 7, 2017
6,684 views
Mutual exclusion problem occursbetween two disjoint processes that do not interactamong processes that share resourcesamong processes that do not use the same resourcebet...
0 votes
0 votes
1 answer
2
N3314nch41 asked Sep 10, 2023
341 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
2 answers
3
shivajikobardan asked Jul 22, 2023
727 views
Sorry if this is a stupid question. But it really intrigued me. Same resources at different algorithms are telling different ways to test these stuffs.Here's an algorith...