I should have reduced it more before posting...

On Dec 31, 2003, at 15:34, Nathaniel Talbott wrote:

> Here's a testcase that shows the problem:
>
>   require 'test/unit'
>
>   class TC < Test::Unit::TestCase
>     def test_time

         Thread.start{}

>       t = Time.now
>       sleep(5)
>       assert_in_delta(5, Time.now.to_i - t.to_i, 1)
>     end
>   end

So the problem is much more fundamental: sleep seems to not work at all 
once a Ruby thread has been run if --enable-pthread is used. Any ideas?

Thanks,


Nathaniel

<:((><