aboutsummaryrefslogtreecommitdiffstats
path: root/thread_sync.c
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-08 07:00:01 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-08 07:00:01 +0000
commitd7ada598541e3f76c6a1a9405eb0021b0b5dbc3b (patch)
tree98ea21370a09a06240cd88eef3320ef565240e02 /thread_sync.c
parent99fd3ceeaea2b816858d07e30dd4446683502135 (diff)
downloadruby-d7ada598541e3f76c6a1a9405eb0021b0b5dbc3b.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.c6
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
*