abort_on_exception=(p1)
public
When set to true, causes all threads (including the main program) to abort if an exception
is raised in thr. The process will effectively exit(0).
static VALUE
rb_thread_abort_exc_set(VALUE thread, VALUE val)
{
rb_thread_t *th;
rb_secure(4);
GetThreadPtr(thread, th);
th->abort_on_exception = RTEST(val);
return val;
}