[ruby-cvs:72674] shyouhei:r65574 (trunk): cont.c: direct use of rb_thread_t
shyouhei at ruby-lang.org
shyouhei at ruby-lang.org
Tue Nov 6 19:19:56 JST 2018
shyouhei 2018-11-06 19:19:55 +0900 (Tue, 06 Nov 2018)
New Revision: 65574
https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65574
Log:
cont.c: direct use of rb_thread_t
The only usage of rb_fiber_reset_root_local_storage() is from
ruby_vm_destruct(), where the object space is already terminated.
This `th->self` is not alive. Why not just use `th` itself.
See also: https://travis-ci.org/ruby/ruby/jobs/451294954
Modified files:
trunk/cont.c
trunk/internal.h
trunk/vm.c
More information about the ruby-cvs
mailing list