How to block writing in pipes, until the read has taken place ? (in C)
Posted
by
user492194
on Stack Overflow
See other posts from Stack Overflow
or by user492194
Published on 2010-12-24T15:19:35Z
Indexed on
2010/12/24
18:54 UTC
Read the original article
Hit count: 106
Hi everyone :)
I'm currently working on some C program, and I'd like to know if there's any chance to block writing in the writer process (until the read is done) ? i.e. I have 3 pipes between the parent process and the children processes (the parent writes and the children read), I'd like to let the parent to write only to the process that finishes its reading :)
I hope it's clear..
Thanks in advance.
© Stack Overflow or respective owner