Previous | Next --- Slide 11 of 72
Back to Lecture Thumbnails
o_o

Initially in lecture I got confused by why sending and receiving would be blocking, but after we did the activity in lecture where we were trying to communicate with other people; I realized that threads will be waiting for the confirmation acknowledgement or waiting to send it and then we would hit a deadlock.

1_1

A synchronous send says send this message, and we know when it has been received, return to the sender.

sandeep6189

Remember: If not used correctly, blocking sends and receives can be an excellent source of circular dependency deadlocks. Practical examples includes server/client communication using RPC.