- Given A Circumstance There Are Three Trains Train A B And C Are Moving At The Same Time Train A Is Currently Moving 1 (33.29 KiB) Viewed 29 times
Given a circumstance there are three trains, Train A, B, and C, are moving at the same time. Train A is currently moving
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Given a circumstance there are three trains, Train A, B, and C, are moving at the same time. Train A is currently moving
Given a circumstance there are three trains, Train A, B, and C, are moving at the same time. Train A is currently moving in railway Lane 1 and Train B is moving in Lane 2 while Train C moving in Lane 3 as shown in Figure 1. Explain all possible deadlocks that can be happened in this circumstance and one way to avoid the deadlocks from happened in the future. Lane 1 Train C Lane 2 Train A ➤ Train B Lane 3 Figure 1.0