summaryrefslogtreecommitdiff
path: root/lib/thwait.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-29 03:33:44 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-29 03:33:44 +0000
commite21741e254aa051bb3dca54a54583deb29586c55 (patch)
tree1bac37f91a7fb939f6963a3c66a7d8ceabc30d5b /lib/thwait.rb
parent33cf9431daf2d6e2c7bf9a8a6fa2530f1f8ffa2c (diff)
downloadruby-e21741e254aa051bb3dca54a54583deb29586c55.tar.gz
* lib/thwait.rb (ThreadsWait#join): refined rdoc. [ruby-core:29863]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/thwait.rb')
-rw-r--r--lib/thwait.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/thwait.rb b/lib/thwait.rb
index e13ae074d5..7ac033d30d 100644
--- a/lib/thwait.rb
+++ b/lib/thwait.rb
@@ -74,7 +74,8 @@ class ThreadsWait
end
#
- # Waits for specified threads to terminate.
+ # Waits for specified threads to terminate, and returns when any
+ # thread terminated.
#
def join(*threads)
join_nowait(*threads)