[#77789] [Ruby trunk Feature#12012] Add Boolean method — prodis@...
Issue #12012 has been updated by Fernando Hamasaki de Amorim.
4 messages
2016/10/27
[ruby-core:77655] [Ruby trunk Bug#12847][Rejected] Documentation of instance method Thread.abort_on_exception= is wrong
From:
nobu@...
Date:
2016-10-18 00:12:02 UTC
List:
ruby-core #77655
Issue #12847 has been updated by Nobuyoshi Nakada. Status changed from Open to Rejected It is the instance-level setting but terminates the whole process. ---------------------------------------- Bug #12847: Documentation of instance method Thread.abort_on_exception= is wrong https://bugs.ruby-lang.org/issues/12847#change-60927 * Author: Mike Kaplinskiy * Status: Rejected * Priority: Normal * Assignee: * ruby -v: * Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN ---------------------------------------- The documentation for the instance method says that the setting is global: https://ruby-doc.org/core-2.3.0/Thread.html#method-i-abort_on_exception-3D: ~~~ When set to true, all threads (including the main program) will abort if an exception is raised in this thr. ~~~ That's actually incorrect - the instance-level setting affects only the thread it was set on; it's not global. -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:[email protected]?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>