Commit ecebf937 authored by Lily Chen's avatar Lily Chen Committed by Commit Bot

Assign ConnectJobs to Requests and keep track of unassigned ConnectJobs

Each pending request in a socket pool group now keeps track of which
ConnectJob is assigned to it, through a pointer to the corresponding
ConnectJob. If there are more ConnectJobs than pending requests in a
group, pointers to the excess jobs are kept in a list of unassigned
jobs. Associating requests with jobs will make it easier to keep job
priorities in sync with request priorities when reprioritizing
requests.

Bug: 166689
Change-Id: I6bb4adb3d8504d55ae58204398f783f9fa0d62cb
Reviewed-on: https://chromium-review.googlesource.com/c/1305393
Commit-Queue: Lily Chen <chlily@chromium.org>
Reviewed-by: default avatarMatt Menke <mmenke@chromium.org>
Cr-Commit-Position: refs/heads/master@{#604968}
parent bfd2688b
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment