roll: pigweed pw_channel: Remove redundant closed state in ForwardingChannelPair
ForwardingChannelPair originally had a closed flag to track whether
either channel was closed. This flag duplicated its channels' read and
write openness flags, and would become out of sync when one channel was
closed.
This change updates ForwardingChannelPair to use the Channels' open
flags instead. When one channel is closed, it closes its sibling channel
for writes. The sibling channel closes itself for reads after returning
any pending data.
Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/243723
Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>
Original-Revision: efda99e88e567ed42091a28a0964de758ca2225d
Rolled-Repo: https://pigweed.googlesource.com/pigweed/pigweed
Rolled-Commits: d8bc075fd61a51..efda99e88e567e
Roll-Count: 1
Roller-URL: https://cr-buildbucket.appspot.com/build/8733261271658824769
GitWatcher: ignore
CQ-Do-Not-Cancel-Tryjobs: true
Change-Id: Idcd45391bd6d841da62908f92bf4f9668250fcad
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/showcase/sense/+/244115
Commit-Queue: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
diff --git a/MODULE.bazel b/MODULE.bazel
index c9356a0..b479744 100644
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -49,8 +49,8 @@
module_name = "pigweed",
# ROLL: Warning: this entry is automatically updated.
# ROLL: Last updated 2024-10-23.
- # ROLL: By https://cr-buildbucket.appspot.com/build/8733264858037592337.
- commit = "d8bc075fd61a518a277f825915a3a115e8cd8279",
+ # ROLL: By https://cr-buildbucket.appspot.com/build/8733261271658824769.
+ commit = "efda99e88e567ed42091a28a0964de758ca2225d",
remote = "https://pigweed.googlesource.com/pigweed/pigweed",
)
@@ -58,8 +58,8 @@
module_name = "pw_toolchain",
# ROLL: Warning: this entry is automatically updated.
# ROLL: Last updated 2024-10-23.
- # ROLL: By https://cr-buildbucket.appspot.com/build/8733264858037592337.
- commit = "d8bc075fd61a518a277f825915a3a115e8cd8279",
+ # ROLL: By https://cr-buildbucket.appspot.com/build/8733261271658824769.
+ commit = "efda99e88e567ed42091a28a0964de758ca2225d",
remote = "https://pigweed.googlesource.com/pigweed/pigweed",
strip_prefix = "pw_toolchain_bazel",
)