diff options
author | Derek Mauro <dmauro@google.com> | 2023-03-13 13:24:00 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-03-13 13:24:46 -0700 |
commit | 7f47b00fca75bee477c8a2e3e8fc74a1cf7c743f (patch) | |
tree | 633a58707b877d90b271ae7cbe85388a7262e2c5 /absl/time/time_test.cc | |
parent | ac8afe6c78d4bde66c8bcf2f3dd9fefea7d4fac8 (diff) |
Synchronization: Change KernelTimeout to always store absolute
timeouts, but when a relative timeout is provided, the timeout is an
absolute timeout against a steady clock (when possible). This allows
methods that return relative timeouts to automatically recompute the
remaining duration, for instance, on suprious wakeups.
PiperOrigin-RevId: 516304139
Change-Id: I7d739cb50dd749eba5dba7ac6c34d18dc53703ed
Diffstat (limited to 'absl/time/time_test.cc')
0 files changed, 0 insertions, 0 deletions