EustŠ“uio Rangel wrote:
> Using an updated 1.9 it still blocks when reading the FIFO.
> I need some suggestion of some test to prove that the native threads are
> there. :-)

Under JRuby it appears to continue running, and the results are 
intermingled as you'd expect. Is this the sort of output you're looking for?

I can confirm the same behavior under 1.9 that EustŠ“uio reported.

ruby 1.9:
~/NetBeansProjects/jruby $ ../ruby1.9/ruby thread_test.rb
(0) Reading thread_test.txt on 2007-11-17 10:00:19 -0600 ...
(1) Reading thread_test.fifo on 2007-11-17 10:00:19 -0600 ...
(2) Reading thread_test2.txt on 2007-11-17 10:00:19 -0600 ...

JRuby:
(0) Reading thread_test.txt on Sat Nov 17 09:50:43 -0600 2007 ...
(1) Reading thread_test.fifo on Sat Nov 17 09:50:43 -0600 2007 ...
(2) Reading thread_test2.txt on Sat Nov 17 09:50:43 -0600 2007 ...
thread_test file
--------------------------------------------------
thread_test2 file
--------------------------------------------------
(0) Reading thread_test.txt on Sat Nov 17 09:50:44 -0600 2007 ...
(2) Reading thread_test2.txt on Sat Nov 17 09:50:44 -0600 2007 ...
thread_test2 file
--------------------------------------------------
thread_test file
--------------------------------------------------
(2) Reading thread_test2.txt on Sat Nov 17 09:50:45 -0600 2007 ...
(0) Reading thread_test.txt on Sat Nov 17 09:50:45 -0600 2007 ...
thread_test2 file
--------------------------------------------------
thread_test file
--------------------------------------------------
(2) Reading thread_test2.txt on Sat Nov 17 09:50:46 -0600 2007 ...
(0) Reading thread_test.txt on Sat Nov 17 09:50:46 -0600 2007 ...
thread_test file
thread_test2 file
--------------------------------------------------
--------------------------------------------------
(0) Reading thread_test.txt on Sat Nov 17 09:50:47 -0600 2007 ...
thread_test file
--------------------------------------------------
(2) Reading thread_test2.txt on Sat Nov 17 09:50:47 -0600 2007 ...
thread_test2 file
--------------------------------------------------
(2) Reading thread_test2.txt on Sat Nov 17 09:50:48 -0600 2007 ...
thread_test2 file
--------------------------------------------------
(0) Reading thread_test.txt on Sat Nov 17 09:50:48 -0600 2007 ...
thread_test file
--------------------------------------------------
(2) Reading thread_test2.txt on Sat Nov 17 09:50:49 -0600 2007 ...
thread_test2 file
(0) Reading thread_test.txt on Sat Nov 17 09:50:49 -0600 2007 ...
thread_test file
--------------------------------------------------
--------------------------------------------------
(2) Reading thread_test2.txt on Sat Nov 17 09:50:50 -0600 2007 ...
(0) Reading thread_test.txt on Sat Nov 17 09:50:50 -0600 2007 ...
thread_test file
--------------------------------------------------

- Charlie