commit | 87831f1ef83c4ec261a2f55c50e9716563b11c94 | [log] [tgz] |
---|---|---|
author | James Robinson <jamesr@google.com> | Tue Apr 04 21:07:13 2023 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Apr 04 21:07:13 2023 +0000 |
tree | 5bbad8734973494596f1ce4c9ac69e8f9fa12432 | |
parent | f225c54283466f629b73641388f22abc5a492c1a [diff] |
[starnix] Ensure clock_nanosleep(CLOCK_REALTIME, ..) advances enough Starnix can't perfectly predict how far the realtime clock will advance when sleeping. This updates clock_nanosleep to check if the realtime clock has advanced far enough and computes an additional sleep if it hasn't yet. Fixed: 124693 Change-Id: I7a0e57ec1a3c9b07dce3ed8daccccebc6c3f12bb Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/828385 Reviewed-by: Kevin Lindkvist <lindkvist@google.com> Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com> Fuchsia-Auto-Submit: James Robinson <jamesr@google.com>
Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.
We expect everyone interacting with our project to respect our code of conduct.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.