Pergunta de entrevista da empresa IBM

Describe a deadlock condition.

Resposta da entrevista

Sigiloso

15 de jul. de 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