This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos 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]

More efficient select patch


Hi Folks

A long time ago a patch was submitted which made select() more
efficient. Recently all the paperwork was sorted out and mow im taking
a look at the patch.

It looks to me it can be made a little bit more efficient. You have
added code which clears out bits in the fd_set above nfd. I don't see
how that gains you anything. The various loops apear to respect nfd
and don't look above it.

Am i missing something?

        Thanks
                Andrew

Attachment: txt00000.txt
Description: Text document


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