function rb_thread_raise

[edit]
static VALUE rb_thread_raise(int argc, VALUE *argv, rb_thread_t th)