commit | b475070079c50adbedd89d6a494016e2de9846f3 | [log] [tgz] |
---|---|---|
author | Ewout van Bekkum <ewout@google.com> | Wed Nov 10 12:50:18 2021 -0800 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Nov 11 17:43:36 2021 +0000 |
tree | feee66081934ef3be5dc737af86d2bd2038ff64e | |
parent | 31a3f6f0076228d8fa71d1a03f38d3daf7644b11 [diff] |
pw_sync_threadx: Rolls back the ThreadNotification backend It turns out the approach chosen to attempt to implement an optimized ThreadNotification backend on ThreadX will fundamentally never work. Unfortunately the kernel must have a saturating thread notification mechanism which permits a thread to start receiving potential notifications when the thread handle is registered. This is not possible with the ThreadX API. Lastly, event flags are equal to or larger than the binary semaphores, and ergo we recommend using the binary semaphore backend for thread notifications. Change-Id: Ifa149296dd77b60b303552c0c008dee2cea46fc2 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/68180 Reviewed-by: Keir Mierle <keir@google.com> Commit-Queue: Ewout van Bekkum <ewout@google.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/