* 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
This commit is contained in:
zzak 2013-09-03 05:49:45 +00:00
Родитель 31bd386452
Коммит 324df61eea
2 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -1,3 +1,8 @@
Tue Sep 3 14:48:25 2013 Zachary Scott <e@zzak.io>
* 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@zzak.io>
* error.c: [DOC] Update bug tracker url by @ScotterC [Fixes GH-390]

Просмотреть файл

@ -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