diff options
author | Donald Sharp <sharpd@nvidia.com> | 2022-12-10 15:08:37 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2023-03-24 13:32:17 +0100 |
commit | 332beb64b886ee811ae0df05f1f3f21628c100b7 (patch) | |
tree | 95dfe35b6a90082d4ce572aeb2d46c22ff53564e /bfdd | |
parent | *: Convert thread_add_XXX functions to event_add_XXX (diff) | |
download | frr-332beb64b886ee811ae0df05f1f3f21628c100b7.tar.xz frr-332beb64b886ee811ae0df05f1f3f21628c100b7.zip |
*: Convert thread_cancelXXX to event_cancelXXX
Modify the code base so that thread_cancel becomes event_cancel
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'bfdd')
-rw-r--r-- | bfdd/control.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bfdd/control.c b/bfdd/control.c index 95e0ef3d6..739de23b5 100644 --- a/bfdd/control.c +++ b/bfdd/control.c @@ -132,7 +132,7 @@ void control_shutdown(void) { struct bfd_control_socket *bcs; - thread_cancel(&bglobal.bg_csockev); + event_cancel(&bglobal.bg_csockev); socket_close(&bglobal.bg_csock); @@ -185,8 +185,8 @@ static void control_free(struct bfd_control_socket *bcs) struct bfd_control_queue *bcq; struct bfd_notify_peer *bnp; - thread_cancel(&(bcs->bcs_ev)); - thread_cancel(&(bcs->bcs_outev)); + event_cancel(&(bcs->bcs_ev)); + event_cancel(&(bcs->bcs_outev)); close(bcs->bcs_sd); @@ -292,7 +292,7 @@ static int control_queue_dequeue(struct bfd_control_socket *bcs) return 1; empty_list: - thread_cancel(&(bcs->bcs_outev)); + event_cancel(&(bcs->bcs_outev)); bcs->bcs_bout = NULL; return 0; } |