[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: UNIX Internals: How does UNIX play with FIFOs ?
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: UNIX Internals: How does UNIX play with FIFOs ?
- From: Gustavo Vieira Gonçalves Coelho Rios <gustavo_(_dot_)_rios_(_at_)_terra_(_dot_)_com_(_dot_)_br>
- Date: Mon, 15 Jul 2002 21:55:45 -0300
- Organization: Alstom Transport Information Solutions
Gustavo Vieira Gonçalves Coelho Rios wrote:
> Hi folks!
> I have a question related to I/O on named piped (FIFOs):
> Let's suppose the following scenario:
> Process A feeds process B using a pipe ( A | B ).
> Just before starting writing STDOUT a forks n childs and none of a
> childs forks another process. Then all A's child starting feeding B the
> "same" time their parent (i.e: process A)
> When the last feeder process (A and all of its child) finish, the
> process B will read EOF!
By reading EOF i mean having read returned 0!
Visit your host, monkey.org