This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: clean up select() call with 0 selectable descriptors
- From: Tom Tromey <tromey at redhat dot com>
- To: Anthony Green <green at redhat dot com>
- Cc: java-patches at gcc dot gnu dot org
- Date: 21 Jan 2006 13:46:26 -0700
- Subject: Re: Patch: clean up select() call with 0 selectable descriptors
- References: <1137876358.28929.54.camel@localhost.localdomain>
- Reply-to: tromey at redhat dot com
>>>>> "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