commit | fb33bd6fb147f469c2af874b58c39ad87bfa9f84 | [log] [tgz] |
---|---|---|
author | Dennis Kormalev <denk@pigweed.infra.roller.google.com> | Wed Aug 17 19:22:50 2022 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Aug 17 19:22:50 2022 +0000 |
tree | 1e9063a647e938f8e548506c8e6368d3fd0eec9e | |
parent | 4774aefde28ffb0fb2ec7dd8733f052de8995519 [diff] |
[roll pigweed] pw_thread: Add FunctionalThread With new changes in pw::Function which allowed for dynamic allocation it can be very convenient to create threads with lambdas with capture lists. Right now, though, it can be done only through the custom ThreadCore instance. This CL adds Thread wrapper that does exactly the same - it stores the ThreadCore instance that runs the pw::Function passed to it. Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/106913 https://pigweed.googlesource.com/pigweed/pigweed pigweed Rolled-Commits: 475ac5a3496b5e4..73eeb7710e9ecfd Roller-URL: https://ci.chromium.org/b/8805557020783433169 CQ-Do-Not-Cancel-Tryjobs: true Change-Id: I12da7fd273535fdf2572f3279d9c50ff29d4dd35 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/zephyr-integration/+/107192 Bot-Commit: 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>
diff --git a/pigweed b/pigweed index 475ac5a..73eeb77 160000 --- a/pigweed +++ b/pigweed
@@ -1 +1 @@ -Subproject commit 475ac5a3496b5e434ab95f806e1505bc82d36143 +Subproject commit 73eeb7710e9ecfd1eb9b40c7e000f78ffb1b975c