mirror of
https://fuchsia.googlesource.com/third_party/pigweed.googlesource.com/pigweed/pigweed
synced 2024-09-20 13:51:05 +00:00
58901934cd
Adds the first synchronization primitive to Pigweed: the pw::sync::SpinLock with integrated local interrupt masking. This also provides the first backend for the SpinLock facade backed by an STL implementation. Note that signals are considered "NMIs" while spin locks are only supported up to IRQs, ergo no local interrupt/signal masking is done in the STL implementation. Change-Id: I34204835c55e54597077d40665f61715964803f9 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/25802 Reviewed-by: Ewout van Bekkum <ewout@google.com> Reviewed-by: Wyatt Hepler <hepler@google.com> Reviewed-by: Keir Mierle <keir@google.com> Commit-Queue: Ewout van Bekkum <ewout@google.com>
9 lines
174 B
ReStructuredText
9 lines
174 B
ReStructuredText
.. _module-pw_sync_stl:
|
|
|
|
-----------
|
|
pw_sync_stl
|
|
-----------
|
|
This is a set of backends for pw_sync based on the C++ STL. It is not ready for
|
|
use, and is under construction.
|
|
|