commit | e61c2daa82871adc44e5d4eed63d96d4527edea1 | [log] [tgz] |
---|---|---|
author | Austin Foxley <afoxley@google.com> | Wed Jan 31 18:33:45 2024 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jan 31 18:33:45 2024 +0000 |
tree | 178532847977754c2d4dce977dfa6fa00209c0c7 | |
parent | 2f985e8ce1ff67b458b6de37d4cb2c139e91c8c4 [diff] |
pw_async_basic: Fix ordering of tasks posted at same time Put tasks with same time in FIFO order in tasks list. In RTOS systems the system clock granularity is often low enough that it is common for tasks to end up with same deadline. The user expectation in that case would be execution of first posted. Change-Id: I37884e5fd2030c4a7b340884a86679765603e291 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/189784 Reviewed-by: Ben Lawson <benlawson@google.com> Reviewed-by: Jonathon Reinhart <jrreinhart@google.com> Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> Commit-Queue: Austin Foxley <afoxley@google.com> Reviewed-by: Christoph Klee <chklee@google.com> Reviewed-by: Carlos Chinchilla <cachinchilla@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.