third_party.pigweed.src/targets/host
Ewout van Bekkum 58901934cd pw_sync: Adds initial SpinLock primitive
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>
2020-11-24 19:02:43 +00:00
..
BUILD.gn BUILD.gn files: Improve import formatting 2020-10-15 18:12:55 +00:00
linux.bloaty Set up all host toolchains 2020-06-16 09:50:59 -07:00
macos.bloaty
macos.gni
run_test
run_test.bat
target_docs.rst docs: Make labels consistent; remove boilerplate 2020-10-01 21:47:35 +00:00
target_toolchains.gni pw_sync: Adds initial SpinLock primitive 2020-11-24 19:02:43 +00:00