diff options
author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-08 07:00:01 +0000 |
---|---|---|
committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-08 07:00:01 +0000 |
commit | 6064132c42ffe99e9a0d3a6ba80a7932c6f7903d (patch) | |
tree | 98ea21370a09a06240cd88eef3320ef565240e02 /thread_sync.c | |
parent | 838a91633c3a50f43bcc4ccec11b41b5a102fd90 (diff) | |
download | ruby-6064132c42ffe99e9a0d3a6ba80a7932c6f7903d.tar.gz |
Remove unnecessary `require 'thread'`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_sync.c')
-rw-r--r-- | thread_sync.c | 6 |
1 files changed, 1 insertions, 5 deletions
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 * |