3303-flashcards/hATaBiZQ - 3303/zM1XYlDF - Why is requesting resources in the same order considered a Prevention strategy.md
gwg313 e83b60af4f
first commit
update readme

reformat
2026-04-20 23:10:20 -04:00

6 lines
284 B
Markdown

Why is "requesting resources in the same order" considered a **Prevention** strategy?
---
📏 It removes the possibility of a **circular wait**. If everyone agrees to lock Resource A before Resource B, you can never have a situation where two threads are waiting on each other.