Given a circumstance there are three trains, Train A, B, and C, are moving at the same time. Train A is currently moving
Posted: Thu Jun 02, 2022 11:07 am
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