Two processes, two pipes, no progress
Process A writes a large block to process B through pipe 1, then reads B's reply from pipe 2. B does exactly the same in the other direction: writes first, then reads.
Both hang. Why?
Process A writes a large block to process B through pipe 1, then reads B's reply from pipe 2. B does exactly the same in the other direction: writes first, then reads.
Both hang. Why?