diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-06-08 03:53:50 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-06-08 03:53:50 +0200 |
commit | a587d00bace8e675b897abda12e8b2a0fc752b11 (patch) | |
tree | 1483198bb20cbc708086e3d32614366b081a51e6 /bgpd/bgp_updgrp.c | |
parent | Merge pull request #678 from chiragshah6/pim_dev (diff) | |
download | frr-a587d00bace8e675b897abda12e8b2a0fc752b11.tar.xz frr-a587d00bace8e675b897abda12e8b2a0fc752b11.zip |
*: remove THREAD_BACKGROUND
it's just an alias for a millisecond timer used in exactly nine places
and serves only to complicate
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_updgrp.c')
-rw-r--r-- | bgpd/bgp_updgrp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bgpd/bgp_updgrp.c b/bgpd/bgp_updgrp.c index 04d262050..287323bda 100644 --- a/bgpd/bgp_updgrp.c +++ b/bgpd/bgp_updgrp.c @@ -1169,8 +1169,8 @@ update_subgroup_trigger_merge_check (struct update_subgroup *subgrp, return 0; subgrp->t_merge_check = NULL; - thread_add_background(bm->master, update_subgroup_merge_check_thread_cb, subgrp, 0, - &subgrp->t_merge_check); + thread_add_timer_msec (bm->master, update_subgroup_merge_check_thread_cb, subgrp, + 0, &subgrp->t_merge_check); SUBGRP_INCR_STAT (subgrp, merge_checks_triggered); |