commit | 5ed60bc3b9f4dcd713018cf014390a0896f02b23 | [log] [tgz] |
---|---|---|
author | Gabriel Charette <gab@chromium.org> | Mon Nov 01 21:46:37 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Nov 01 21:46:37 2021 |
tree | 2578186842e70856efda98710e20f4d9effe7ee7 | |
parent | 50d55d2642122f07fd7f8f52776752a07d82cb51 [diff] |
[base] Support multiple ThreadPoolImpl::FlushForTesting() at once And declare |flush_cv_| as only used while idle (test thread intentionally idling to wait for thread pool). This is a precursor to https://chromium-review.googlesource.com/c/chromium/src/+/3255105 where usage of FlushForTesting() in TaskEnvironment must not instantiate a ScopedBlockingCallWithBaseSyncPrimitives and was risky without support for racing FlushForTesting() calls. Bug: 1263149 Change-Id: Iff0d7d11e63b07f2de7c2bca47e77cc7643a7a91 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3252718 Reviewed-by: François Doray <fdoray@chromium.org> Commit-Queue: Gabriel Charette <gab@chromium.org> Cr-Commit-Position: refs/heads/main@{#937060}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.