summaryrefslogtreecommitdiff
path: root/test/-ext-/gvl/test_last_thread.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/-ext-/gvl/test_last_thread.rb')
-rw-r--r--test/-ext-/gvl/test_last_thread.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/-ext-/gvl/test_last_thread.rb b/test/-ext-/gvl/test_last_thread.rb
index 6808e96..f1bebaf 100644
--- a/test/-ext-/gvl/test_last_thread.rb
+++ b/test/-ext-/gvl/test_last_thread.rb
@@ -11,7 +11,7 @@ class TestLastThread < Test::Unit::TestCase
}
t0 = Time.now
- Thread.current.__runnable_sleep__ 1
+ Bug::Thread.runnable_sleep 1
t1 = Time.now
t = t1 - t0