[ruby-cvs:70937] normal:r63846 (trunk): thread_pthread.c: pass rb_vm_t to timer_thread_sleep

normal at ruby-lang.org normal at ruby-lang.org
Wed Jul 4 10:26:31 JST 2018


normal	2018-07-04 10:26:31 +0900 (Wed, 04 Jul 2018)

  New Revision: 63846

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

  Log:
    thread_pthread.c: pass rb_vm_t to timer_thread_sleep
    
    I love `container_of' for generic data structures, but
    in this case it's unnecessary and slightly harder-to-read.
    
    This will make "Timeout in VM" slightly easier-to-read:
    https://bugs.ruby-lang.org/issues/14859

  Modified files:
    trunk/thread_pthread.c


More information about the ruby-cvs mailing list