D

E

A

D

L

O

C

K

S

I

M

U

L

A

T

I

O

N

Toggle the necessary conditions for deadlock. When all four are active, a circular wait arises: