commit | 6c9f7e16c63055e1f94d454571842a90bfc41700 | [log] [tgz] |
---|---|---|
author | Ewout van Bekkum <ewout@google.com> | Tue Feb 08 13:30:23 2022 -0800 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Feb 09 03:33:03 2022 +0000 |
tree | 8e99b705df6efb451efb7c2138c7a73c533dbceb | |
parent | ec4727f76807fc6a4ce271a53ee7d97a57e65aab [diff] |
pw_thread/snapshot: Deprecate active thread, use state enum Updates the snapshot thread processor to use the thread state enum to determine which thread was active (RUNNING or INTERRUPT_HANDLER), while continuing to support the newly deprecated active thread flag. This is preferred because the information is already fully encoded through the state enum and duplicating the information only causes confusion and costs extra space. Change-Id: Iaa06e3cf362d86e9cc7f140d2de007bfdf71bcd0 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/83582 Pigweed-Auto-Submit: Ewout van Bekkum <ewout@google.com> Reviewed-by: Armando Montanez <amontanez@google.com> Commit-Queue: 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/