[ruby-cvs:66352] ko1:r59174 (trunk): Do not store/restore Thread#status on fiber switching.

ko1 at ruby-lang.org ko1 at ruby-lang.org
Mon Jun 26 14:30:07 JST 2017


ko1	2017-06-26 14:30:07 +0900 (Mon, 26 Jun 2017)

  New Revision: 59174

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

  Log:
    Do not store/restore Thread#status on fiber switching.
    
    * cont.c (cont_restore_thread): On Fiber switching, thread status shold be
      THREAD_RUNNABLE so that we don't need to store/restore this field.
    
    * cont.c (cont_save_thread): ditto.

  Modified files:
    trunk/cont.c


More information about the ruby-cvs mailing list