commit | 4ab273bb60606ed681bee1be6fb2c8bb31dc26a7 | [log] [tgz] |
---|---|---|
author | Denil Vira <denil@cumulusnetworks.com> | Fri Mar 04 15:28:54 2016 -0500 |
committer | Paul Jakma <paul@quagga.net> | Wed Jul 20 12:58:33 2016 +0100 |
tree | 0742982d0f484826bf983c1789ffb0cd080fe56b | |
parent | 0744040564ece3f4b9fe39fcf857e466a5f68a72 [diff] |
lib: Replace lists with arrays to store read and write threads With arrays, a thread corresponding to given fd is looked up in constant time versus the linear time taken for list traversals. Signed-off-by: Denil Vira <denil@cumulusnetworks.com> Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>