diff --git a/CHANGELOG.md b/CHANGELOG.md index 6461846ee..a33f4ee7d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ ## Current +concurrent-ruby: + +* (#1072) Clarify that executor `#kill` may interrupt in-progress tasks. + ## Release v1.3.8 (19 July 2026) concurrent-ruby: diff --git a/lib/concurrent-ruby/concurrent/executor/executor_service.rb b/lib/concurrent-ruby/concurrent/executor/executor_service.rb index 7e344919e..e16f024aa 100644 --- a/lib/concurrent-ruby/concurrent/executor/executor_service.rb +++ b/lib/concurrent-ruby/concurrent/executor/executor_service.rb @@ -68,10 +68,9 @@ module Concurrent # @!macro executor_service_method_kill # - # Begin an immediate shutdown. In-progress tasks will be allowed to - # complete but enqueued tasks will be dismissed and no new tasks - # will be accepted. Has no additional effect if the thread pool is - # not running. + # Begin an immediate shutdown. In-progress tasks may be interrupted, + # enqueued tasks will be dismissed, and no new tasks will be accepted. + # Has no additional effect if the thread pool is not running. # @!macro executor_service_method_wait_for_termination #