function rb_thread_aset

[edit]
static VALUE rb_thread_aset(VALUE thread, VALUE id, VALUE val)