Chapter 19 Flashcards

1
Q

What are good solution for critical section problem

A
  • Bounded waiting
  • Progress
  • Mutual exclusion
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is Mutual exclusion

A

If a process is executing in its critical section(shared data), then no other processes can be executing in their critical sections.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is progress

A

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).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is bounded waiting

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly