[ruby-cvs:66370] ko1:r59192 (trunk): introduce rb_thread_ptr() to replace GetThreadPtr().

ko1 at ruby-lang.org ko1 at ruby-lang.org
Wed Jun 28 13:49:30 JST 2017


ko1	2017-06-28 13:49:30 +0900 (Wed, 28 Jun 2017)

  New Revision: 59192

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

  Log:
    introduce rb_thread_ptr() to replace GetThreadPtr().
    
    * vm_core.h (rb_thread_ptr): added to replace GetThreadPtr() macro.
    
    * thread.c (in some functions: use "target_th" instead of "th" to make clear
      that it is not a current thread.

  Modified files:
    trunk/cont.c
    trunk/thread.c
    trunk/vm.c
    trunk/vm_backtrace.c
    trunk/vm_core.h
    trunk/vm_dump.c
    trunk/vm_trace.c


More information about the ruby-cvs mailing list