From 1398573684c84f6902cb874e176abe9ffd4a6a4d Mon Sep 17 00:00:00 2001 From: ko1 Date: Wed, 13 Aug 2008 07:53:35 +0000 Subject: * thread.c, vm_core.h: add manual priority support using time slice. if you enable USE_NATIVE_THREAD_PRIORITY macro, this mechanism is ignored. [ruby-dev:33124] * thread_pthread.c, thread_win32.c: ditto. * test/ruby/test_thread.rb: fix test parameter. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_thread.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/ruby/test_thread.rb b/test/ruby/test_thread.rb index a97811584..046eaec7b 100644 --- a/test/ruby/test_thread.rb +++ b/test/ruby/test_thread.rb @@ -126,7 +126,7 @@ class TestThread < Test::Unit::TestCase sleep 0.5 t1.kill t2.kill - assert(c1 > c2 * 2, "[ruby-dev:33124]") + assert(c1 > c2 * 1.5, "[ruby-dev:33124]") end def test_new -- cgit