aboutsummaryrefslogtreecommitdiffstats
path: root/lib/thwait.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/thwait.rb')
-rw-r--r--lib/thwait.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/thwait.rb b/lib/thwait.rb
index 7ac033d30d..963ff4d1b6 100644
--- a/lib/thwait.rb
+++ b/lib/thwait.rb
@@ -74,8 +74,8 @@ class ThreadsWait
end
#
- # Waits for specified threads to terminate, and returns when any
- # thread terminated.
+ # Waits for specified threads to terminate, and returns when one of
+ # the threads terminated.
#
def join(*threads)
join_nowait(*threads)