diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2003-04-03 14:31:03 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2003-04-03 14:31:03 +0000 |
commit | d145bb27e040bffbed5e30d2ebdab24a98eeeb81 (patch) | |
tree | febf2be42bfe7fe0ae6c079c495e5e2d9df6c0d4 /sys/netccitt/pk_output.c | |
parent | 5c768ec5c3f404ee20b4f0aec19b339d0a1ee96b (diff) |
until now, the queue ID and the priority were tied together with PRIQ. this
diff changes that.
with PRIQ, the queues are in an array, with the priority as key. removing
the tie means we cannot access the array with (queueID - 1) as key any
more but need to traverse the array until the queue ID matches. As the array
has a maximum of 16 entries, traversing linear is okay.
a new queue ID allocation algorithm coming soon will require this.
ok dhartmei@ kjc@
Diffstat (limited to 'sys/netccitt/pk_output.c')
0 files changed, 0 insertions, 0 deletions