commit | 6cabf3bbe458654398134f736bc86baaad4c16d3 | [log] [tgz] |
---|---|---|
author | pigweed-integration-roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com> | Thu Mar 11 02:27:30 2021 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Mar 11 02:27:38 2021 +0000 |
tree | dd0143bcc0a6477ca4f0724b6a6dc1710b1a94f0 | |
parent | deb854b49e9c05b3237015d519683e21995473a0 [diff] |
[roll third_party/pigweed] threadx: fix for_at_least contract to add one tick Fixes the ThreadX backends for pw::sync::Mutex, pw::sync::BinarySemaphore, pw::sync::CountingSemaphore, and pw::this_thread::sleep_for to add one tick when invoking the native API to comply with the for_at_least contract as we do not know how far we are into the current tick. Note this is not observable without the use of an independent clock. This also adds explicit downcasting from int64_t to ULONG ticks when invoking native APIs. Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/36923 third_party/pigweed Rolled-Commits: 2375d9005e1034c..1dea2c8e0be967a Roller-URL: https://ci.chromium.org/b/8853093205414301568 Cq-Cl-Tag: roller-builder:pigweed-experimental-roller Cq-Cl-Tag: roller-bid:8853093205414301568 CQ-Do-Not-Cancel-Tryjobs: true Change-Id: I7e03c37e5f81150b491dbcbaba4db9d8f0534c96 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/experimental/+/37120 Reviewed-by: Pigweed Integration Roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com> Commit-Queue: Pigweed Integration Roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com>
This repository contains experimental pigweed modules.
Clone this repo with --recursive
to get all required submodules.
git clone --recursive https://pigweed.googlesource.com/pigweed/experimental
This will pull the Pigweed source repository into third_party/pigweed
. If you already cloned but forgot to --recursive
run git submodule update --init
to pull all submodules.