httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Havard" <bri...@kheldar.apana.org.au>
Subject Re: cvs commit: apache-2.0/src/main http_log.c
Date Wed, 21 Jun 2000 09:00:03 GMT
On Tue, 20 Jun 2000 19:05:37 -0700 (PDT), rbb@covalent.net wrote:

>
>> >  OS/2:
>> >  
>> >  ap_set_pipe_timeout() with timeout value > 0: The code didn't play with
>> >  the blocking state before and it doesn't still.  I did add logic for special
>> >  timeout values 0 and -1 to play with the blocking state.
>> >  
>> >  ap_create_pipe():  old logic didn't do anything with the blocking state
>> >  of the second handle; it still doesn't; hopefully it is blocking
>> 
>> Good try but this won't work. The pipe must always be created non-blocking
>> (else the DosConnectNPipe() blocks forever) & can stay that way. OS/2
>> allows attaching an event semaphore to the pipe which is triggered when
>> data is available. The parameters to the call to wait on that semaphore
>> determine the block/non-block/timeout behaviour.
>
>Can we just create it non-blocking and use a -1 timeout value on OS/2?

Yep, exactly.

-- 
 ______________________________________________________________________________
 |  Brian Havard                 |  "He is not the messiah!                   |
 |  brianh@kheldar.apana.org.au  |  He's a very naughty boy!" - Life of Brian |
 ------------------------------------------------------------------------------


Mime
View raw message