You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by "William A. Rowe, Jr." <wr...@rowe-clan.net> on 2007/10/11 17:59:41 UTC
Re: svn commit: r583860 - in /apr/apr/branches/1.2.x: CHANGES threadproc/win32/proc.c
trawick@apache.org wrote:
> Changes for APR 1.2.12
>
> + *) apr_procattr_io_set() on Windows: Set pipe handles non-blocking as
> + appropriate based on the input parameters. PR 43522.
> + [Eric Covener <covener gmail.com>]
would it be less confusing to say;
apr_procattr_io_set() on Windows: Set non-blocking pipe handles
to a default timeout of 0, following the Unix default. No effect
on pipe handles configured to block. PR 43522.
Re: svn commit: r583860 - in /apr/apr/branches/1.2.x: CHANGES threadproc/win32/proc.c
Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
Jeff Trawick wrote:
>
> the deal was that some pipe handles were supposed to be set
> non-blocking, but they weren't
Maybe I'm confused, I understood this patch to set a timeout,
they were non-blocking with an infinite timeout.
No difference you might say ;-) But on win32 a blocking pipe
once open can't be set to a timeout/nonblock.
Ancient issue which causes still today 2 faults in testpipe.c,
our actual apr_file_pipe_open needs such a flag, too.
Bill
Re: svn commit: r583860 - in /apr/apr/branches/1.2.x: CHANGES threadproc/win32/proc.c
Posted by Jeff Trawick <tr...@gmail.com>.
On 10/11/07, William A. Rowe, Jr. <wr...@rowe-clan.net> wrote:
> trawick@apache.org wrote:
> > Changes for APR 1.2.12
> >
> > + *) apr_procattr_io_set() on Windows: Set pipe handles non-blocking as
> > + appropriate based on the input parameters. PR 43522.
> > + [Eric Covener <covener gmail.com>]
>
> would it be less confusing to say;
>
>
> apr_procattr_io_set() on Windows: Set non-blocking pipe handles
> to a default timeout of 0, following the Unix default. No effect
> on pipe handles configured to block.
brain freeze at the moment trying to think of alternatives
my concerns with some of your text:
setting timeouts to zero is an unnecessary detail since the
procattr_io_set API is in the simple terms of blocking or not
"Unix default" is really the expected portable behavior
the deal was that some pipe handles were supposed to be set
non-blocking, but they weren't