On Sun, 30 Apr 2006, Evan Buswell defenestrated me:
> 
> The select() in question is on TCPServer objects, so doing a workaround
> with InputStream.available isn't going to work.  As far as I can tell, we
> need to break out nio.

  Yep.  As Charlie noted, we need nio.  It is just a matter of time.
We have been working hard toward basic Rails support and have had our
heads down.   

> nio looks like its a Good Thing, and will simplify a lot of the IO code
> already there.  But of course, that's a large amount of code to migrate
> just to make 1 function work.  We can get away with a socket-only
> nio-based select (who uses select on files anyway??) w/o changing any of
> the other IO code.  I'll look into it, but really I should just implement
> an IOHandler which uses nio; it'd be a much cleaner solution and de-uglify
> the send / recv code I wrote, as well as providing trivial support for
> UDPSocket and SSLSocket (based on java.net.ssl...)

  Yes!  Try and make an IOHandler based on nio.  It may end up that
IOHandler is not compatiable or hopefully it is with the need to add
the the interface a bit.

  I planned on looking at your patch this morning.  If you have something
better, I will still review what you sent since I suspect a newer patch
will be similiar.

-Tom

-- 
+ http://www.tc.umn.edu/~enebo +---- mailto:[EMAIL PROTECTED] ----+
| Thomas E Enebo, Protagonist  | "Luck favors the prepared    |
|                              |  mind." -Louis Pasteur       |


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jruby-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jruby-devel

Reply via email to