httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mladen Turk <mt...@apache.org>
Subject Re: rotatelogs - Adding timeout for reading from stdin
Date Wed, 10 Jun 2009 12:58:26 GMT
Dan Poirier wrote:
> Would wait_for_io_or_timeout() be a good candidate for apr?
> 

There is apr_wait_for_io_or_timeout but it uses the
apr_file_t->timeout which can be set only for pipes
and sockets.

Also the Win32 code will work only for stdhandles because
they are pipes.

In essence the answer is no.
However the full async file API is different thing...

Regards
-- 
^(TM)

Mime
View raw message