commit | f2261b9bad2a4953315647a51b3802500d93eba7 | [log] [tgz] |
---|---|---|
author | Taylor Cramer <cramertj@google.com> | Thu Jul 18 18:13:16 2024 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jul 18 18:13:16 2024 +0000 |
tree | 7b4a07118c6b0f1158c78262c35aeaa397a4a647 | |
parent | a17b318ce670eaed29d3fa7ee819929e737ba589 [diff] |
pw_async2_epoll: Fix block on racing wakeups The notify_fd_ must be nonblocking in order to ensure that the wakeup write call never blocks, even when several racing wake attempts fill the pipe. Change-Id: Ieaf2b518d02bf1c723e0e8ee664c0568dc564295 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/224291 Reviewed-by: Taylor Cramer <cramertj@google.com> Reviewed-by: Alexei Frolov <frolv@google.com> Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com> Pigweed-Auto-Submit: Taylor Cramer <cramertj@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com> Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.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/.