Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pipe read returning EAGAIN



bouyer%antioche.eu.org@localhost (Manuel Bouyer) writes:

>It does retry because the same code is used after the pipe has been closed
>(the child exited or has been killed) in this case it's OK to wait for
>data or EOF which will happen very soon.

Shouldn't it turn on blocking mode on the filedescriptor if it intends
to wait ?


-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index