Bridge Crossing Example
- Traffic only in one
direction.
- Each section of a bridge
can be viewed as a resource.
- If a deadlock occurs, it
can be resolved if one car backs up (preempt resources and rollback).
- Several cars may have to
be backed up if a deadlock occurs.
- Starvation is possible.
No comments:
Post a Comment