summaryrefslogtreecommitdiff
path: root/lib/thread.rb
diff options
context:
space:
mode:
authorzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-09-03 05:49:45 +0000
committerzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-09-03 05:49:45 +0000
commit324df61eea3e4c107e419ea3c685eaea4da7fd5e (patch)
tree864d9f5a49a4c469eae43efa8ee3c03b8d66507e /lib/thread.rb
parent31bd38645296df1a6af451505f203c125431d868 (diff)
* lib/thread.rb: [DOC] CV#wait typo by @avdi [Fixes GH-386]
https://github.com/ruby/ruby/pull/386 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/thread.rb')
-rw-r--r--lib/thread.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/thread.rb b/lib/thread.rb
index 0bc95a25947..597956c22e4 100644
--- a/lib/thread.rb
+++ b/lib/thread.rb
@@ -60,7 +60,7 @@ class ConditionVariable
# 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