Performance: fhandler_socket and ready_for_read()

Conrad Scott Conrad.Scott@dsl.pipex.com
Wed Jul 31 05:43:00 GMT 2002


"Corinna Vinschen" <cygwin-patches@cygwin.com> wrote:
> I agree.  Just setting the flag is cleaner than overriding the
method
> while the flag is still set to a wrong value, isn't it?

It is, especially now that I look at this in the, umm, early
afternoon light after a good, umm, night's sleep (tho' no coffee
or breakfast yet, so no guarantees).

Summarising last night's twisty little thread, this patch just
sets the NOEINTR flag for sockets if winsock2 is available, which
should keep us all happy.  And it makes the get_r_no_interrupt
method non-virtual again too.  Just in case :-)

// Conrad

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ChangeLog.txt
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20020731/e1ed36a4/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: set_r_no_interrupt.patch.txt
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20020731/e1ed36a4/attachment-0001.txt>


More information about the Cygwin-patches mailing list