Rei Odaira wrote:
Hi,

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?

Konnichiwa Rei,

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! :)

cheers,
dalibor topic

_______________________________________________
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to