|
From: Ype K. <yk...@xs...> - 2001-08-04 18:42:54
|
John, <snip> > >As it turns out, the new j2sdk1.4.0 is capable of Non >blocking IO. Once I create my medusa like interface >wrappers i will benchmark it against the standard >python asyncore package. However, I need not >implement the asyncore module in Jython (python). >Because the interchangeability of java and Jython >classes as well as the ease of use of the Jython API, >I can whip it up directly in Java with little time >penality. > >We will soon see... <snip> Just in case you need sth to fall back onto from java 1.4 (...): http://softwaredev.earthweb.com/java/article/0,,12082_626271,00.html This is a java replacement for select(), they call it a Multiplexor, basically a single thread doing all the read()s and some sleep(). I hope you don't need this, Have fun, Ype |