httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@covalent.net
Subject Re: [PATCH] Re: extra syscalls related to ap_create_pipe()
Date Tue, 20 Jun 2000 17:04:35 GMT

> Do we need ap_unblock_pipe() and ap_block_pipe()? Why not use the same semantics as
> sockets (see Dean's saferead code).
> 
> ap_set_pipe_timeout(pipe, 0) - sets the pipe to non-blocking w/o a timeout
> ap_set_pipe_timeout(pipe, -1) - sets the pipe blocking
> ap_set_pipe_timeout(pipe, n>0) - sets a timeout on the pipe.

This is how the code is supposed to work right now.  This requires the
fcntl calls that we are trying to get rid of.

Ryan

_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------


Mime
View raw message