commit | f05c6b188aaf36ef4256628a147122ed37773d6a | [log] [tgz] |
---|---|---|
author | Ewout van Bekkum <ewout@google.com> | Mon Oct 18 11:30:22 2021 -0700 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Oct 18 19:11:25 2021 +0000 |
tree | 68ba76357b8ef262abc2340ee6079526a9586481 | |
parent | 853cc7902c3e754b281308e8e8af4b77e86d4304 [diff] |
pw_thread_freertos/util: Don't skip the priority=0 ready tasks Unlike FreeRTOS upstream's uxTaskGetSystemState implementation, we'd like to be able to report on the state of the IDLE task and any of the user's tasks at that same priority level in case configIDLE_SHOULD_YIELD is used. Ergo the thread iteration is changed to include reporting active threads at priority 0. No-Docs-Update-Reason: No API change. Change-Id: I7485457d4dfafb19bd495f31658429acbbd36e9f Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/65860 Reviewed-by: Kevin Zeng <zengk@google.com> Reviewed-by: Armando Montanez <amontanez@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com> Pigweed-Auto-Submit: Ewout van Bekkum <ewout@google.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/