commit | d5f83f9f995706b40247db02aa3487bcf81b9a09 | [log] [tgz] |
---|---|---|
author | Ewout van Bekkum <ewout@google.com> | Fri Nov 05 12:31:28 2021 -0700 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Nov 08 17:10:23 2021 +0000 |
tree | 29b23b93d02c762e596ebd9ce7d97f384424e47c | |
parent | 33340fce599b381d3f1164a87dca5c198c176413 [diff] |
pw_sync/mutex: Consistently debug assert against recursive locks Updates the embOS and ThreadX backends to add additional debug asserts to detect accidental recursive mutex use. Note that this cannot be done on FreeRTOS, however this ends up failing to recursively lock due to the native implementation. Change-Id: Iead1371fc2d419d8a9939819c2895801d32ca90e Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/67382 Commit-Queue: Ewout van Bekkum <ewout@google.com> Pigweed-Auto-Submit: Ewout van Bekkum <ewout@google.com> Reviewed-by: Keir Mierle <keir@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/