Do whatever Ruby does :)

On 6/16/06, Evan Buswell <[EMAIL PROTECTED]> wrote:
I'm on vacation so I haven't had a chance to look at this patch.

Beware that there are issues with nonblocking io and select().  While a
SocketChannel is being select()ed, it *must* be in nonblocking mode.  I
was thinking about implementing fcntl for nonblocking io, but the
problem is what if while one thread is select()ing on a socket, another
sets the socket blocking?  Either we have to block the fcntl until the
select completes or we have to do some weird threading delay-set magic.

Granted there might not be one single instance of something like this
happening, but then again there might.

Evan

--
Charles Oliver Nutter @ headius.blogspot.com
JRuby Developer @ jruby.sourceforge.net
Application Architect @ www.ventera.com
_______________________________________________
Jruby-devel mailing list
Jruby-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jruby-devel

Reply via email to