Closed
Description
Monotonic clock support was added in PRs #253 and #254. There are numerous placers where we use Time.now
in our code. We should replace as many of those as possible with monotonic clocks. The current clock_time
implementation within Condition
should be moved to the Concurrent
namespace and made public. Each of the following classes should then be updated, if possible:
Agent (used for observation)- Condition
- RubyThreadPoolExecutor
- RubyThreadPoolWorker
- TimerSet
IVar (used for observation)- ScheduledTask
[x] TimerTask (usestimer
for scheduling and Time.now for observation