apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject Re: cvs commit: apr/support/unix waitio.c
Date Wed, 19 Nov 2003 00:50:20 GMT
Brian Havard wrote:

>> Log:
>> With the removal of apr_poll(), the apr_wait_for_io_or_timeout() function
>> needed to be rebuilt. Specifically, it needs a pollset, but we don't want
>> to allocate that all the time. Thus, we need to create it once at socket
>> or file creation time, and then reuse that pollset.
> 
> 
> You can't poll a file handle on OS/2 (APR_FILES_AS_SOCKETS == 0) so there's
> not really much point in having a pollset in the OS/2 apr_file_t, unless
> there's some grand scheme you're cooking up that I'm unaware of :)
> 
> Should I go ahead & clean them out?

You can go ahead and clean it out of Unix side too for all I care, and I'll get 
wait_for_io_or_timeout() to work again without the complications of managing 
pollsets that we may never use.



Mime
View raw message