commit | a99e2f6b77d4c90a7ebc30481f75cc1cf1ac0901 | [log] [tgz] |
---|---|---|
author | Joshua Liebow-Feeser <joshlf@google.com> | Thu Jun 20 04:52:32 2019 +0000 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Thu Jun 20 04:52:32 2019 +0000 |
tree | cc031aba592b2fec7a278651a5602a1f10a37b75 | |
parent | 49ffae5a105d94732398689f06a6399226ce777f [diff] |
[netstack3] Use zx::Time instead of std::time::Instant for timers - Previously, we used std::time::Instant because the core's EventDispatcher trait used that type in order to avoid a platform- specific dependency on zx::Time; this required some gymnastics, and meant that we had an open TODO to figure out how to convert from std::time::Instant to zx::Time - Now that the EventDispatcher trait provides an abstraction for the instant at which a timer is scheduled, we can just use zx::Time directly without exposing that detail to the core, and thus avoid violating the core's platform-agnosticism requirement - This also allows us to implement EventDispatcher::schedule_timeout_instant, which was previously a TODO for the reasons described above NET-2367 #done Change-Id: Ic40de7fbaed7ac1f1861cc60f3db14c8937cf743
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
See Getting Started.
See the documentation.