function rb_thread_aset

static VALUE rb_thread_aset(VALUE thread, VALUE id, VALUE val)