Two entities are being submitted to two servers, i.e. one entity per server. If server #1 is occupied, it should pause (and block) server #2 until server #1 becomes unoccupied. The same operation occurs if server #2 becomes occupied. At no point in time should both servers be blocked. However, an issue arises if the servers receive the entities at the "same" time, both servers become blocked and thus the system becomes locked.
The attached model, "simpleExample_eventPrior.slx", demonstrates this behavior.
How can I prevent a deadlock state in a SimEvents model?
Best Answer