This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Performance: fhandler_socket and ready_for_read()


"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

Attachment: ChangeLog.txt
Description: Text document

Attachment: set_r_no_interrupt.patch.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]