Actions
Bug #2359
closedtest_threads.rb:test_list
Description
=begin
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.
=end
Actions
Like0
Like0Like0Like0Like0