O cenário
Two automated tasks must acquire two shared resources to complete. Deadlock is avoided by enforcing a strict resource-acquisition order.
O que há neste desenho
Entenda as decisões por trás dele.
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.