]> git.puffer.fish Git - mirror/frr.git/commit
lib, bgpd: implement pthread lifecycle management
authorQuentin Young <qlyoung@cumulusnetworks.com>
Wed, 8 Mar 2017 23:16:15 +0000 (23:16 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Thu, 30 Nov 2017 21:17:57 +0000 (16:17 -0500)
commit2d4ee77490a1a0b93b5e6945af2210bb0836baa1
tree090f28aedcd7b38bfdbe3899891cf13644589860
parent03014d48f4afe83f3bf87c966bcccc8c7532d791
lib, bgpd: implement pthread lifecycle management

Removes the WiP shim and implements proper thread lifecycle management.

* Declare necessary pthread_t's in bgp_master
* Define new MTYPE in lib/thread.c for pthreads
* Allocate and free BGP's pthreads appropriately
* Terminate and join threads appropriately

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
bgpd/bgp_main.c
bgpd/bgp_packet.c
bgpd/bgpd.c
bgpd/bgpd.h
lib/thread.c
lib/thread.h