commit | 390fe0459071b952052a461ba758d7f880ecd273 | [log] [tgz] |
---|---|---|
author | Ewout van Bekkum <ewout@google.com> | Thu Dec 16 16:01:42 2021 -0800 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Dec 17 01:02:13 2021 +0000 |
tree | ecc2b665b4f4e46709bc782054d975a09d1cfc38 | |
parent | b8f3ad2db9ad0f08970d62af3910f91ee5389e12 [diff] |
pw_chrono/system_timer: Update destructor contract Updates the pw::chrono::SystemTimer destructor contract to explicitly state (and require) that the destructor block if necessary until the expiry callback is no longer and can no longer be executed. This ensures SystemTimers can be safely used as members in objects which are destructed. Note that this is already met by the upstream backends including FreeRTOS, STL, embOS, and Zephyr. Change-Id: I3b03c917b3ec9f0a5d058ce659e38ffdb1a4815f Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/75280 Pigweed-Auto-Submit: Ewout van Bekkum <ewout@google.com> Reviewed-by: Wyatt Hepler <hepler@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/