This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java 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: Patch: clean up select() call with 0 selectable descriptors


>>>>> "Anthony" == Anthony Green <green@redhat.com> writes:

Anthony> 2006-01-21  Anthony Green  <green@redhat.com>
Anthony> 	* gnu/java/nio/natSelectorImplPosix.cc (select): Start
Anthony> 	with max_fds = -1, not 0.

This seems reasonable enough to me.

What does select() actually do when max_fds==0?
I'm wonder what we ought to be doing in that case as well...

Tom


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