]> git.puffer.fish Git - matthieu/frr.git/commit
lib: Modify event system to treat fd access more fairly
authorDonald Sharp <sharpd@nvidia.com>
Thu, 2 Nov 2023 20:46:27 +0000 (16:46 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Wed, 8 Nov 2023 20:32:56 +0000 (15:32 -0500)
commit57ea8ac8c34e347e541239019784167090785850
tree822307d69a9a69a14199b950e7c6d09015039819
parent6b19e40730c6d331b502171d5cf615f393afff6a
lib: Modify event system to treat fd access more fairly

Keep track of the last starting spot of where fd's were
being handled for read operations.  Modify the io read
handler to cycle through the list of fd's that need
to be handled such that fd's at the front do not take
precedence for being handled all the time.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
lib/event.c
lib/frrevent.h