mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/thwait.rb (ThreadsWait#join): refined rdoc again.
[ruby-core:29863] [ruby-dev:41092] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d610c8c686
commit
f88284b91e
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Thu Apr 29 18:39:51 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* lib/thwait.rb (ThreadsWait#join): refined rdoc again.
|
||||||
|
[ruby-core:29863] [ruby-dev:41092]
|
||||||
|
|
||||||
Thu Apr 29 14:46:00 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Thu Apr 29 14:46:00 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* test/ruby: use more descriptive assertions.
|
* test/ruby: use more descriptive assertions.
|
||||||
|
|
|
@ -74,8 +74,8 @@ class ThreadsWait
|
||||||
end
|
end
|
||||||
|
|
||||||
#
|
#
|
||||||
# Waits for specified threads to terminate, and returns when any
|
# Waits for specified threads to terminate, and returns when one of
|
||||||
# thread terminated.
|
# the threads terminated.
|
||||||
#
|
#
|
||||||
def join(*threads)
|
def join(*threads)
|
||||||
join_nowait(*threads)
|
join_nowait(*threads)
|
||||||
|
|
Loading…
Reference in a new issue