[前][次][番号順一覧][スレッド一覧]

ruby-changes:39669

From: nobu <ko1@a...>
Date: Fri, 4 Sep 2015 00:17:40 +0900 (JST)
Subject: [ruby-changes:39669] nobu:r51750 (trunk): thread_sync.c: fix typos

nobu	2015-09-04 00:17:25 +0900 (Fri, 04 Sep 2015)

  New Revision: 51750

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=51750

  Log:
    thread_sync.c: fix typos

  Modified files:
    trunk/thread_sync.c
Index: thread_sync.c
===================================================================
--- thread_sync.c	(revision 51749)
+++ thread_sync.c	(revision 51750)
@@ -1,4 +1,4 @@ https://github.com/ruby/ruby/blob/trunk/thread_sync.c#L1
-/* included by thraed.c */
+/* included by thread.c */
 
 VALUE rb_cMutex, rb_cQueue, rb_cSizedQueue, rb_cConditionVariable;
 VALUE rb_eClosedQueueError;
@@ -731,7 +731,7 @@ queue_do_push(VALUE self, VALUE obj) https://github.com/ruby/ruby/blob/trunk/thread_sync.c#L731
  *    	q = Queue.new
  *      Thread.new{
  *        loop{
- *          e = q.deq; ...  # braek with ClosedQueueError
+ *          e = q.deq; ...  # break with ClosedQueueError
  *        }
  *      }
  *      q.close(true)

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]