From: "Christian Höltje" Date: 2009-11-12T06:43:05+09:00 Subject: [ruby-core:26694] [Bug #2359] test_threads.rb:test_list Bug #2359: test_threads.rb:test_list http://redmine.ruby-lang.org/issues/show/2359 Author: Christian H��ltje Status: Open, Priority: Normal ruby -v: ruby 1.9.1p243 (2009-07-16 revision 24175) [sparc-solaris2.8] In test/ruby/test_threads.rb: test_list errors or hangs on Sparc64 Solaris. I think the problem is that when using native threads, loop{} starves the other threads. I can "fix" running the internal eval'd code by changing the loop{} to be loop{puts 'fubar'}. But that only works if it sends to the terminal (the io causes the thread to let go). Since it's being captured by assert_in_out_err() that doesn't really work. A work around is to change loop{} to loop{Thread.pass} but I don't know if this still tests what it is supposed to test. ---------------------------------------- http://redmine.ruby-lang.org