commit | 76cd48178dbbb9e7e2dea21ff46042c52cf3dce7 | [log] [tgz] |
---|---|---|
author | Prashanth Swaminathan <prashanthsw@google.com> | Mon May 17 11:11:56 2021 -0700 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue May 18 20:40:19 2021 +0000 |
tree | 770ed966aa19f364ebaded5b2cab2c10ddaafce1 | |
parent | de972b871c7f448f5ac5dffce02c30310ec64d32 [diff] |
pw_multisink: Lock multisink operations Guards all multisink transactions with a lock. The new configuration option PW_MULTISINK_LOCK_INTERRUPT_SAFE allows the project to select the type of lock used to guard transactions. By default, it is enabled and makes use of an interrupt spin-lock. If disabled, a mutex is used instead. Change-Id: I71ab2729d130c524da27e0d06beb0c3fdf73d145 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/45720 Commit-Queue: Prashanth Swaminathan <prashanthsw@google.com> Pigweed-Auto-Submit: Prashanth Swaminathan <prashanthsw@google.com> Reviewed-by: Ewout van Bekkum <ewout@google.com>
See our website: http://pigweed.dev