Project

General

Profile

« Previous | Next » 

Revision facd0883

Added by ko1 (Koichi Sasada) almost 8 years ago

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.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e