]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_io.c
bgpd: update pthreads to use lib changes
authorQuentin Young <qlyoung@cumulusnetworks.com>
Wed, 24 Jan 2018 16:07:27 +0000 (11:07 -0500)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Wed, 24 Jan 2018 20:30:55 +0000 (15:30 -0500)
commita715eab3ce7b3aedcd8f809fc7f7f512f29cceb9
tree71fb5d39a494de7d4ac5257c56df411bad7922da
parenta45dc9742c3e4e504f66bf18b7bc9da3c218233a
bgpd: update pthreads to use lib changes

Use the new threading facilities provided in lib/ to streamline the
threads used in bgpd. In particular, all of the lifecycle code has been
removed from the I/O thread and replaced with the default loop. Did not
do the same to the keepalives thread as it is much smaller (doesn't need
the event system).

Also cleaned up some comments to match the style guide.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
bgpd/bgp_io.c
bgpd/bgp_io.h
bgpd/bgp_keepalives.c
bgpd/bgp_keepalives.h
bgpd/bgpd.c