Hello,

Gustavo Rios <rios.gust...@gmail.com> wrote:
> Hi folks!
> 
> If hi have more than one writer process writing data to a pipe write end to
> make it atomically, i.e., messages write to the pipe isnot interleaved ?

IIRC posix requires that writes to pipes and FIFOs are atomic for less
than PIPE_BUF bytes, so as long as you have a way to ensure that messages
can fit it in, or that they can be "framed", you should be good.

anyway, if possible, my two cents are to simplify a bit and use a socket
per reader-writer pair.

  • pipes Gustavo Rios
    • Re: pipes Omar Polo

Reply via email to