commit | 7a1512f2784fe0b3c68aa7a45b89aea6b38bf025 | [log] [tgz] |
---|---|---|
author | Guido Urdaneta <guidou@chromium.org> | Fri Jun 11 18:54:36 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jun 11 18:54:36 2021 |
tree | 0c6e0e03cd82ecc2577fb21380ac3dbfca1575e7 | |
parent | cdd933e4d8ed07fcf92fab5b2c8d3d1bdb0ab7d9 [diff] |
[BreakoutBox] Replace MSTP::is_pending_pull_ with a counter |is_pending_pull_| was used to make sure that frames were made available to the stream only if there was a pending pull request. However, if multiple pull requests are issued and then no more pull requests arrive, some of the corresponding read requests will remain unsettled when |is_pending_pull_| becomes false. This CL fixes this by replacing the boolean |is_pending_pull_| with a counter. Bug: 1218120 Change-Id: I0ffc038a73a6cd1d387dc17e9c21f2c62fc50613 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2950171 Commit-Queue: Guido Urdaneta <guidou@chromium.org> Reviewed-by: Thomas Guilbert <tguilbert@chromium.org> Cr-Commit-Position: refs/heads/master@{#891735}
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.