From 6064132c42ffe99e9a0d3a6ba80a7932c6f7903d Mon Sep 17 00:00:00 2001 From: kazu Date: Sun, 8 Oct 2017 07:00:01 +0000 Subject: Remove unnecessary `require 'thread'` git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- thread_sync.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'thread_sync.c') diff --git a/thread_sync.c b/thread_sync.c index 95f48ad079..3316bcbacf 100644 --- a/thread_sync.c +++ b/thread_sync.c @@ -65,7 +65,6 @@ static const char* rb_mutex_unlock_th(rb_mutex_t *mutex, rb_thread_t volatile *t * * Example: * - * require 'thread' * semaphore = Mutex.new * * a = Thread.new { @@ -673,8 +672,7 @@ queue_closed_result(VALUE self, struct rb_queue *q) * * Example: * - * require 'thread' - * queue = Queue.new + * queue = Queue.new * * producer = Thread.new do * 5.times do |i| @@ -1211,8 +1209,6 @@ struct rb_condvar { * * Example: * - * require 'thread' - * * mutex = Mutex.new * resource = ConditionVariable.new * -- cgit v1.2.3