function rb_thread_status

static VALUE rb_thread_status(VALUE thread)