Prevention

Must invalidate one of the four necessary conditions for a deadlock.

It is most common to invalidate the Circular Wait condition. It simply requires that each resource is enumerated, and they then must be acquired in order.