情境
Two automated tasks must acquire two shared resources to complete. Deadlock is avoided by enforcing a strict resource-acquisition order.
這張圖裡有什麼
看懂背後的決策。
01
Enforce ordering of resource requests
02
Model with Petri nets to verify liveness and safety
Use this pattern when coordinating concurrent tasks that share multiple resources, such as in automated manufacturing, robot coordination, or database transactions.