[ruby-cvs:67853] ko1:r60672 (trunk): move rb_thread_t::interrupt_flag and mask

ko1 at ruby-lang.org ko1 at ruby-lang.org
Mon Nov 6 16:44:28 JST 2017


ko1	2017-11-06 16:44:28 +0900 (Mon, 06 Nov 2017)

  New Revision: 60672

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

  Log:
    move rb_thread_t::interrupt_flag and mask
    to rb_execution_context_t.
    
    * vm_core.h (rb_thread_t): move
      `rb_thread_t::interrupt_flag` and
      `rb_thread_t::interrupt_mask` to rb_execution_context_t.
    
      RUBY_VM_CHECK_INTS() accepts `ec` instead of `th`.
    
    * cont.c (rb_fiber_terminate): to propagate interrupt information,
      add new parameter `need_interrupt`.

  Modified files:
    trunk/cont.c
    trunk/eval.c
    trunk/insns.def
    trunk/process.c
    trunk/signal.c
    trunk/thread.c
    trunk/thread_pthread.c
    trunk/thread_sync.c
    trunk/thread_win32.c
    trunk/vm_core.h
    trunk/vm_eval.c
    trunk/vm_insnhelper.c
    trunk/vm_trace.c


More information about the ruby-cvs mailing list