commit | 0262b8848658244b7a40555932880fe06583ed53 | [log] [tgz] |
---|---|---|
author | Alexei Frolov <frolv@google.com> | Tue Jul 16 21:25:15 2024 +0000 |
committer | CQ Bot Account <pigweed-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jul 16 21:25:15 2024 +0000 |
tree | 6dcf9c962f8ce42f6b175a3822e8017590608d26 | |
parent | adc9434e3faf7729822a43215fb71c8a81eee15a [diff] |
modules/pubsub: Invoke subscriber callbacks without locks held This updates the pubsub code to separately track the presence of a subscriber and its callback function, allowing the callback to be invoked without holding a lock. Change-Id: I6658a6987d11440fa8b3b9710379df54eb2f19d9 Reviewed-on: https://pigweed-internal-review.git.corp.google.com/c/pigweed/showcase/rp2/+/71369 Reviewed-by: Taylor Cramer <cramertj@google.com> Commit-Queue: Alexei Frolov <frolv@google.com>