commit | 9e29fbb3837d9f83103824424640da48af70d332 | [log] [tgz] |
---|---|---|
author | Ewout van Bekkum <ewout@google.com> | Tue Jul 13 14:06:07 2021 -0700 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jul 16 16:56:57 2021 +0000 |
tree | fcd8664f58e9c2ba2167aed3e549bb7f3c093300 | |
parent | 9b3abb201c587cf8f92e386ffdd35acb74e57f37 [diff] |
pw_thread_stl: don't use std::this_thread::sleep_for For some reason MinGW's sleep_for returns too early, for this reason the STL backend is changed to only use sleep_until on Windows. In addition the sleep backend is enabled on Windows for the host target. Change-Id: I0a167e273b332cc91ab48b851c39e0efa227fd70 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/53020 Pigweed-Auto-Submit: Ewout van Bekkum <ewout@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com> Reviewed-by: Keir Mierle <keir@google.com>
See our website: http://pigweed.dev