summaryrefslogtreecommitdiff
path: root/lib/thwait.rb
diff options
context:
space:
mode:
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)