• Josh Karlin's avatar
    Prioritize replies as well as tasks · 36985c8e
    Josh Karlin authored
    What:
    PrioritizedTaskRunner currently runs its tasks (from RunTaskAndReply) in prioritized order but not the replies. This CL adds a priority queue for replies to run in order as well.
    
    Why:
    At least for the cache, the reply task is equally important to the posted task and should run in priority order.
    
    
    Bug: 856674
    Change-Id: Icea37adb96891473292e0c38805c42e84f9d4f5f
    Reviewed-on: https://chromium-review.googlesource.com/1114921Reviewed-by: default avatarMaks Orlovich <morlovich@chromium.org>
    Commit-Queue: Josh Karlin <jkarlin@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#570781}
    36985c8e
prioritized_task_runner.cc 2.89 KB