[ruby-cvs:57812] normal:r50664 (trunk): lib/*: use monotonic clock for timeouts

normal at ruby-lang.org normal at ruby-lang.org
Fri May 29 10:40:27 JST 2015


normal	2015-05-29 10:40:26 +0900 (Fri, 29 May 2015)

  New Revision: 50664

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

  Log:
    lib/*: use monotonic clock for timeouts
    
    The monotonic clock is preferred as it is guaranteed to be
    continuous and not subject to jumps due to adjustments.
    
    * lib/net/resolv.rb (request): use monotonic clock
    * lib/net/http.rb (begin_transport, end_transport): ditto

  Modified files:
    trunk/ChangeLog
    trunk/lib/net/http.rb
    trunk/lib/resolv.rb


More information about the ruby-cvs mailing list