* 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:
parent
31bd386452
commit
324df61eea
@ -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>
|
Tue Sep 3 14:37:53 2013 Zachary Scott <e@zzak.io>
|
||||||
|
|
||||||
* error.c: [DOC] Update bug tracker url by @ScotterC [Fixes GH-390]
|
* 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.
|
# Releases the lock held in +mutex+ and waits; reacquires the lock on wakeup.
|
||||||
#
|
#
|
||||||
# If +timeout+ is given, this method returns after +timeout+ seconds passed,
|
# 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)
|
def wait(mutex, timeout=nil)
|
||||||
Thread.handle_interrupt(StandardError => :never) do
|
Thread.handle_interrupt(StandardError => :never) do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user