From: "Iñaki Baz Castillo" Date: 2012-06-07T20:22:16+09:00 Subject: Re: Thread#kill is not rescued by "rescue Exception" 2012/6/7 Iñaki Baz Castillo : > So, it means that the signal send by Thread#kill is not > "rescue--able", am I right? Also, I've realized about the following in C code: int exception_tag; VALUE ret; ret = rb_protect(function, Qnil, &exception_tag); If while function() is being executed (which invokes Ruby land code) current thread is killed with Thread#kill, then rb_protect() exits with the following ANNOYING data: exception_tag => int 8 ret => VALUE FIXNUM 8 If after that I do: VALUE exception = rb_errinfo(); Then I get VALUE FIXNUM 8. Yes, rb_errinfo() returns FIXNUM 8 !!! -- Iñaki Baz Castillo