Computer Science, asked by Mutagekarswapni4631, 1 year ago

What is critical section? design algorithm to solve this problem using peterson's algorithm?

Answers

Answered by raaj25
0
In concurrent programming, concurrent accesses to shared resources can lead to unexpected or erroneous behavior, so parts of the program where the shared resource is accessed are protected. This protectedsection is the critical section orcritical region. It cannot be executed by more than one process.

I hope it help you..
Please mark me brainlist
Answered by Sadhiti
16

Answer:

Answer

  • In concurrent programming, concurrent accesses to shared resources can lead to unexpected or erroneous behavior, so parts of the program where the shared resource is accessed are protected. This protectedsection is the critical section orcritical region. It cannot be executed by more than one process
Similar questions