The home page of NBIO is: http://www.cs.berkeley.edu/~mdw/proj/java-nbio/
>From my reading of this in the past this only supported systems that support standard *NIX system calls. Maybe this would work on Win2k with Cygwin. xxxxxxxxxxxxxxxxxxxxxxxx Scott Stark Chief Technology Officer JBoss Group, LLC xxxxxxxxxxxxxxxxxxxxxxxx ----- Original Message ----- From: "Peter Antman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 05, 2001 5:44 AM Subject: Re: [JBoss-dev] JBossMQ thread model > On 5 Okt, Ole Husgaard wrote: > > Hi, > > > > I hope it is OK that I forward your reply to the list. > > > > David Maplesden wrote: > >> Sounds like a good idea. It didn't feel when writing the code that an extra > >> thread per connection would be a problem. If it is for you then you will > >> probably want to pool the communication threads as well, as there is at > >> least one of these per connection for the commonly used OIL and UIL > >> communication mechanisms. > > > > Yes, I have been looking at this too, but found no easy solution. > > Maybe because I am not very familiar with I/O under Java. > > > > My problem is multiplexing several file stream reads on a single > > thread. Here, the Java libraries seem to lack features similar > > to the BSD select(2) syscall or the SysV poll(2) syscall. > > While something could be emulated with the InputStream.available() > > method, it would be a busy wait for input since this method would > > have to be called almost constantly. > > > > I believe that the new I/O system in JDK1.4 supports this, but > > we cannot require users to use that (yet). See JSR-51. > > There might be a way around that. One of the members in JSR-51 has > written a non blocking io library for java (on Unix plattforms) that > works with earlier releases of the JDK - nbio. According to the website, it > is used in SwiftMQ "to provide superior scalability and performance for > MQ-based applications". Something to beat for JBossMQ ;-) > > //Peter _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
