Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[webkitcorepy] Ensure TaskPool queue full before reading
https://bugs.webkit.org/show_bug.cgi?id=245144 <rdar://problem/99873350> Reviewed by Stephanie Lewis. * Tools/Scripts/libraries/webkitcorepy/setup.py: Bump version. * Tools/Scripts/libraries/webkitcorepy/webkitcorepy/__init__.py: Ditto. * Tools/Scripts/libraries/webkitcorepy/webkitcorepy/task_pool.py: (_Result.__call__): Decrement pending task counter. (TaskPool): Set pending task counter to 0. (TaskPool.do): Increment pending task counter, only consume from readers if enough tasks are available for workers. Canonical link: https://commits.webkit.org/254456@main
- Loading branch information
1 parent
fa3d441
commit df9c2ab
Showing
3 changed files
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters