
Writing to the pipe may block if the pipe is full. Holding the mutex while writing prevents listeners from aquiring the mutex and unblocking the write. This leads to a deadlock situation.
Writing to the pipe may block if the pipe is full. Holding the mutex while writing prevents listeners from aquiring the mutex and unblocking the write. This leads to a deadlock situation.