Mladen Turk wrote: > 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.
To clarify, it's no longer possible to pipe 'hugefile' through rotatelogs with 1MB granularity. This should at least be noted in the docs if the patch is accepted. Jim is traveling, it would be good to get his feedback Monday on your proposed patch, because I'm near certain it's a puzzle he had looked at. FYI your patch didn't need platform specifics, if you used the apr_poll API.
