4
Cited in the book that a critical region has 4 key points:
- Progress:
Ensures that all threads are entering and leaving the critical region, avoiding deadlocks.
- Mutually Exclusive:
Only one thread may be acting in the critical region, the others must wait their turn.
- Bounded Waiting:
Ensures that all thread after a time limit is allowed within the critical region. Preventing a thread I stayed a long time without getting progress for lack of "luck" in the selection.
- No Assumptions on Timing:
It didn’t make sense to me. What does that mean?
Also, if any concept prior to the room is incorrect or incomplete, please correct me.
There are good questions there, and although they are even related, they are not the same problem, edit this one for something more focused and keep the other questions separate can help well and get good answers (I see at least 3 different questions, although all of them are about competition).
– Maniero
edited! to so confused that I don’t know where to start
– Pirategull