From: "Iñaki Baz Castillo" Date: 2012-06-11T20:30:35+09:00 Subject: Re: Thread#kill is not rescued by "rescue Exception" 2012/6/7 Iñaki Baz Castillo : > ret = rb_protect(function, Qnil, &error_tag); > >  /* >   * If an exception occurs while in function() it can be due: >   * >   * - An Exception (including SystemExit), this is "rescue-able" via > "rescue Exception" >   *   and will run the "ensure" code if present. In this case > rb_errinfo() gets the >   *   exact Exception object. >   * >   * - A Thread#kill. This is NOT "rescue-able" via "rescue Exception" > but it WILL run >   *   the "ensure" code if present. In this case rb_errinfo() returns > FIXNUM 8 (it maybe >   *   different, no idea). In order to re-check this possible "issue", I've reported it in Ruby tracker: http://bugs.ruby-lang.org/issues/6575 -- Iñaki Baz Castillo