function rb_thread_aref

[edit]
static VALUE rb_thread_aref(VALUE thread, VALUE id)