Pergunta de entrevista da empresa GE

How can a process in deadlock with another (each has what the other needs) resolve the deadlock to continue operation.

Resposta da entrevista

Sigiloso

24 de jul. de 2019

Introduce mutex/semaphores around the variables which are shared by the resources or simply introduces synchronized blocks where the producer interacts with the consumer.