What is critical section? design algorithm to solve this problem using peterson's algorithm?
Answers
Answered by
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
I hope it help you..
Please mark me brainlist
Answered by
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