[kaffe] gnu.java.nio.VMSelector implementation
robilad at kaffe.org
Tue Mar 29 11:48:51 PST 2005
Rei Odaira wrote:
> I'm trying to run Tomcat 5 with clustering support on Kaffe/jthread.
> The current implementation of gnu.java.nio.VMSelector#select()
> seems to directly invoke a system call "select()", instead of KSELECT().
> Since the system call is not aware of jthread, Kaffe can stop
> indefinitely when java.nio.channels.Selector#select() is called
> with timeout == 0 (blocking mode).
> Below is a simple testcase.
> I think the previous implementation, which uses KSELECT(), would be better,
> although it has several serious bugs.
> Any thoughts?
Thanks you very much for spotting this bug, and for the great bug
report! And thanks to Guilhem for checking in a fix so rapidly and
fixing my mistake! :)
More information about the kaffe