[ruby-cvs:63582] normal:r56417 (trunk): webrick: use monotonic clock for timeouts

normal at ruby-lang.org normal at ruby-lang.org
Fri Oct 14 10:48:52 JST 2016


normal	2016-10-14 10:48:52 +0900 (Fri, 14 Oct 2016)

  New Revision: 56417

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

  Log:
    webrick: use monotonic clock for timeouts
    
    The monotonic clock is immune to system time changes and
    a better option for implementing timing comparisons.
    
    * lib/webrick/utils.rb (TimeoutHandler): use monotonic clock
      (watch): ditto

  Modified files:
    trunk/ChangeLog
    trunk/lib/webrick/utils.rb


More information about the ruby-cvs mailing list