Chapter 19 Flashcards
What are good solution for critical section problem
- Bounded waiting
- Progress
- Mutual exclusion
What is Mutual exclusion
If a process is executing in its critical section(shared data), then no other processes can be executing in their critical sections.
What is progress
If no progress is executing in critical section and some processes wish to enter critical sections, then only those processes that are not executing in their remainder sections can decide which process will enter critical section next, and this decision cannot be postponed indefinitely (decision time bounded).
What is bounded waiting
A bound must exist on the number of times that their processes are allowed to enter their critical sections after a process has made a request to enter its critical section and before that request is granted.