third_party.pigweed.src/pw_thread_stl
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_stl pw_thread: add explicit yield requirement to sleep 2021-02-03 08:45:59 +00:00
public_overrides/pw_thread_backend pw_thread: adds the initial pw_thread module 2021-01-28 01:47:20 +00:00
BUILD pw_thread: adds the initial pw_thread module 2021-01-28 01:47:20 +00:00
BUILD.gn pw_thread: adds the initial pw_thread module 2021-01-28 01:47:20 +00:00
docs.rst pw_thread: adds the initial pw_thread module 2021-01-28 01:47:20 +00:00