summaryrefslogtreecommitdiff
path: root/thread_sync.c
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-08 07:00:01 (GMT)
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-08 07:00:01 (GMT)
commit6064132c42ffe99e9a0d3a6ba80a7932c6f7903d (patch)
tree98ea21370a09a06240cd88eef3320ef565240e02 /thread_sync.c
parent838a91633c3a50f43bcc4ccec11b41b5a102fd90 (diff)
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 95f48ad..3316bcb 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
*