6 lines
284 B
Markdown
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.
|