Commit Graph

4 Commits

Author SHA1 Message Date
Ewout van Bekkum
5ff8cc5b2b pw_sync: use timeout & deadline over {until,for}_at_least
The signatures, comments, and docs are updated to reflect the most
recent terminology for describing blocking APIs with timeouts and
deadlines.

Change-Id: Iea7ea5490c44c9ce698a694e532345909bba562f
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/60040
Reviewed-by: Keir Mierle <keir@google.com>
Pigweed-Auto-Submit: Ewout van Bekkum <ewout@google.com>
Commit-Queue: Ewout van Bekkum <ewout@google.com>
2021-09-08 15:06:27 +00:00
Wyatt Hepler
f298de4260 pw_assert: Switch to the new header names
Bug: 350
Change-Id: Ia395cebedba24c9463e558059ebdb516759253e2
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/38740
Commit-Queue: Wyatt Hepler <hepler@google.com>
Reviewed-by: Keir Mierle <keir@google.com>
2021-04-30 00:33:37 +00:00
Ewout van Bekkum
2da13fa589 noexcept: add some noexcepts when mirroring the STL
Change-Id: If139a17461644afd0262710631ca413f38f2f66e
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/31040
Commit-Queue: Ewout van Bekkum <ewout@google.com>
Reviewed-by: Wyatt Hepler <hepler@google.com>
2021-01-28 16:22:09 +00:00
Ewout van Bekkum
9618d8a770 pw_sync: Adds semaphores & mutexes
Adds the BinarySemaphore, CountingSemaphore, and Mutex to the
pw_sync module along with an STL backend for each.

Change-Id: I54a3a64e702202a319ed2c9068bf37412d3fd240
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/24241
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-12-01 21:28:25 +00:00