summaryrefslogtreecommitdiff
path: root/test/ruby/test_thread.rb
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-13 07:53:35 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-13 07:53:35 +0000
commit16612b360b376d0cb3f50f966e2e671cf80fdc25 (patch)
tree862a67a25748334d49fedad72e9a848376b22837 /test/ruby/test_thread.rb
parent81719aff65dba5b72d14ad39eb851301bfd995a3 (diff)
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@18570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_thread.rb')
-rw-r--r--test/ruby/test_thread.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_thread.rb b/test/ruby/test_thread.rb
index a978115848..046eaec7bf 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