diff options
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 * |