Let's use this for further discussion on the preemption topic.
Maybe we should start with trying to settle on a definition, a suggestion:
If arrival A has seized 1 unit of resource X (with capacity 1) and arrival B - with a higher priority and a preempt attribute set to TRUE - tries to seize resource X:
- processing of A is interrupted
- resource X is released
- resource X is immediately seized by arrival B (if no other arrivals with higher priority and
preempt set to TRUE tries to seize it)
- once arrival B releases resource X, arrival A re-seizes resource X (if no other arrivals with higher priority and
preempt set to TRUE tries to seize it)
- once arrival A has re-seized resource X, it continues processing (or restarts processing - debatable)
Let's use this for further discussion on the preemption topic.
Maybe we should start with trying to settle on a definition, a suggestion: