Safe and unsafe states

A joint-progress diagram for two processes sharing exclusive resources. Reorder the get/release entries and watch the safe, impossible, and deadlock-inevitable regions change.

Choosing a resource from an axis's + menu adds a get and a release. Drag the pair apart to extend the hold. Deleting either member removes the pair; hovering either member highlights both.

Joint-progress explorer

Resources

progress ↑
get R1
get R0
release R1
release R0
get R0
release R0
get R1
release R1
Safe Impossible Unsafe