[ruby-cvs:70346] eregon:r63256 (trunk): Use Thread.pass in loop{} to check interrupts more often

eregon at ruby-lang.org eregon at ruby-lang.org
Wed Apr 25 17:11:01 JST 2018


eregon	2018-04-25 17:11:01 +0900 (Wed, 25 Apr 2018)

  New Revision: 63256

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

  Log:
    Use Thread.pass in loop{} to check interrupts more often
    
    * The spec now runs in ~5ms vs ~100ms before.

  Modified files:
    trunk/spec/ruby/core/thread/raise_spec.rb


More information about the ruby-cvs mailing list