/* * call-seq: * Thread.abort_on_exception => true or false * * Returns the status of the global ``abort on exception'' condition. The * default is <code>false</code>. When set to <code>true</code>, or if the * global <code>$DEBUG</code> flag is <code>true</code> (perhaps because the * command line option <code>-d</code> was specified) all threads will abort * (the process will <code>exit(0)</code>) if an exception is raised in any * thread. See also <code>Thread::abort_on_exception=</code>. */ static VALUE rb_thread_s_abort_exc() { return ruby_thread_abort?Qtrue:Qfalse; }