what is deadlock in communication
communication deadlock occurs when process A is trying to send a message to process B, which is trying. to send a message to process C which is trying to send a message to A. A resource deadlock occurs when processes are trying to get exclusive access to devices, files, locks, servers, or other resources. We will not differentiate between these types of deadlock since we can consider communication channels to be resources without loss of generality. Four conditions have to be met for deadlock to be present: 1.