commit | 3b1536d1f039674dc52825a815c1355543df763e | [log] [tgz] |
---|---|---|
author | Prashanth Swaminathan <prashanthsw@google.com> | Tue May 18 14:21:30 2021 -0700 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sat May 22 03:09:31 2021 +0000 |
tree | ec56462e5fcd7e57ad99127cbc86bb40a25d4628 | |
parent | f0106064ce53cedfc4d09bd5ce044d88457ce804 [diff] |
pw_multisink: Send notifications to listeners Listeners can now be attached to multisinks, which are notified when entries are pushed into the ring buffer or dropped on ingress. Listener implementations might use this to schedule tasks to fetch entries from the corresponding drains. No-Docs-Update-Reason: Doc updates coming in follow-up change. Change-Id: I16be7bf5792c829bcda38edce5a5be7b5a0f373d Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/39463 Commit-Queue: Prashanth Swaminathan <prashanthsw@google.com> Reviewed-by: Ewout van Bekkum <ewout@google.com>
See our website: http://pigweed.dev