Issue #11124 has been updated by Akira Tanaka.

Status changed from Open to Closed

----------------------------------------
Feature #11124: [PATCH] lib/*: use monotonic clock for timeouts
https://bugs.ruby-lang.org/issues/11124#change-52919

* Author: Eric Wong
* Status: Closed
* Priority: Normal
* Assignee: Akira Tanaka
----------------------------------------
The monotonic clock is preferred as it is guaranteed to be
continuous and not subject to jumps due to adjustments.

Given the identical "now" method in both files (and similar code in
lib/benchmark.rb), I wonder if we should implement something like
Process.now instead...

Anyways, I'll commit this patch as-is in a few weeks/months unless there's
objections.


---Files--------------------------------
0001-lib-use-monotonic-clock-for-timeouts.patch (2.8 KB)


-- 
https://bugs.ruby-lang.org/