[ruby-cvs:70590] normal:r63499 (trunk): thread_pthread.c: avoid reading th pointer for thread cache

normal at ruby-lang.org normal at ruby-lang.org
Thu May 24 11:52:46 JST 2018


normal	2018-05-24 11:52:46 +0900 (Thu, 24 May 2018)

  New Revision: 63499

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63499

  Log:
    thread_pthread.c: avoid reading th pointer for thread cache
    
    I suspect GC may free the rb_thread_t (th) pointer by the time
    we call register_cached_thread_and_wait.

  Modified files:
    trunk/thread_pthread.c


More information about the ruby-cvs mailing list