third_party.pigweed.src/pw_thread
Ewout van Bekkum d6d6d19b56 pw_thread: add explicit yield requirement to sleep
Extends the pw::this_thread::sleep_{for,until} API contract to
require explicit yielding if the effective sleep duration is 0
(e.g. sleep_for(0) or sleep_until(not_in_the_future)).

Updates the FreeRTOS and STL backends accordingly.

Change-Id: I3fb09e4fda45382ee14a081b10a384fa41fb6f5c
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/31540
Pigweed-Auto-Submit: Ewout van Bekkum <ewout@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Reviewed-by: Wyatt Hepler <hepler@google.com>
2021-02-03 08:45:59 +00:00
..
public/pw_thread pw_thread: add explicit yield requirement to sleep 2021-02-03 08:45:59 +00:00
backend.gni pw_thread: adds the initial pw_thread module 2021-01-28 01:47:20 +00:00
BUILD
BUILD.gn
docs.rst
id_facade_test.cc
sleep_facade_test_c.c
sleep_facade_test.cc
sleep.cc
yield_facade_test_c.c
yield_facade_test.cc
yield.cc