DescriptionRe-land: cc: Cancel and re-prioritize worker pool tasks.
This adds a task graph interface to the worker pool and
implements a simple queue instance of this interface for
use by the tile manager.
The task graph interface can be used describe more
complicated task dependencies in the future and
provides the immediate benefit of seamlessly being
able to cancel and re-prioritize tasks.
BUG=178974, 244642
TEST=cc_unittests --gtest_filter=WorkerPoolTest.Dependencies
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=203041
Patch Set 1 #
Total comments: 18
Patch Set 2 : address review feedback #Patch Set 3 : move alignment check to RP #
Total comments: 12
Patch Set 4 : cancel scheduled tasks at shutdown #Patch Set 5 : Added support for dependencies and tests. #
Total comments: 2
Patch Set 6 : Rebase and some re-factoring #Patch Set 7 : keep image cache check #
Total comments: 8
Patch Set 8 : Add more comments and cleanup WorkerPool::Inner::ScheduleTasks #Patch Set 9 : update a few comments in TileManager #Patch Set 10 : s/was_cancelled/was_canceled/ #Patch Set 11 : Check and prevent worker pool reentrancy during dispatch of completion callbacks #
Messages
Total messages: 28 (0 generated)
|