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

ruby-changes:30722

From: zzak <ko1@a...>
Date: Tue, 3 Sep 2013 14:49:50 +0900 (JST)
Subject: [ruby-changes:30722] zzak:r42801 (trunk): * lib/thread.rb: [DOC] CV#wait typo by @avdi [Fixes GH-386]

zzak	2013-09-03 14:49:45 +0900 (Tue, 03 Sep 2013)

  New Revision: 42801

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

  Log:
    * lib/thread.rb: [DOC] CV#wait typo by @avdi [Fixes GH-386]
      https://github.com/ruby/ruby/pull/386

  Modified files:
    trunk/ChangeLog
    trunk/lib/thread.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 42800)
+++ ChangeLog	(revision 42801)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue Sep  3 14:48:25 2013  Zachary Scott  <e@z...>
+
+	* lib/thread.rb: [DOC] CV#wait typo by @avdi [Fixes GH-386]
+	  https://github.com/ruby/ruby/pull/386
+
 Tue Sep  3 14:37:53 2013  Zachary Scott  <e@z...>
 
 	* error.c: [DOC] Update bug tracker url by @ScotterC [Fixes GH-390]
Index: lib/thread.rb
===================================================================
--- lib/thread.rb	(revision 42800)
+++ lib/thread.rb	(revision 42801)
@@ -60,7 +60,7 @@ class ConditionVariable https://github.com/ruby/ruby/blob/trunk/lib/thread.rb#L60
   # Releases the lock held in +mutex+ and waits; reacquires the lock on wakeup.
   #
   # If +timeout+ is given, this method returns after +timeout+ seconds passed,
-  # even if no other thread doesn't signal.
+  # even if no other thread has signaled.
   #
   def wait(mutex, timeout=nil)
     Thread.handle_interrupt(StandardError => :never) do

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

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