apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <...@covalent.net>
Subject Re: [PATCH] O_NONBLOCK flag to apr_file_open
Date Mon, 02 Jul 2001 15:33:37 GMT

We actually removed that option specifically because it wasn't portable.
:-(  I think this will fall out in the wash with the named pipe redesign
however.  If the namedpipe_create function returns a handle to the pipe,
then we can be sure to open that handle as a nonblocking operation.

Ryan

On Sun, 1 Jul 2001, Ryan Morgan wrote:

>
> APR seems to be missing the O_NONBLOCK flag to apr_file_open.  This
> means that calls to open on named pipes will block until the producer
> has opened the pipe for writing.  Is this intended?  I have no idea
> how this works on win32, but a patch for unix is attached..
>
> -Ryan
>
>


_____________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
Covalent Technologies			rbb@covalent.net
-----------------------------------------------------------------------------


Mime
View raw message