IBM interview question

Describe a deadlock condition.

Interview Answer

Anonymous

Jul 15, 2014

Let say we have resources R1 and R2 and there are two jobs J1 and J2. Consider the following situation: J1 got the R1. Locked it and is waiting for R2. J2 got the R2 and locked it and is waiting for R1.

1