summaryrefslogtreecommitdiff
path: root/lib/zlog_5424.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-12-10 09:08:37 -0500
committerDonald Sharp <sharpd@nvidia.com>2023-03-24 08:32:17 -0400
commit332beb64b886ee811ae0df05f1f3f21628c100b7 (patch)
tree95dfe35b6a90082d4ce572aeb2d46c22ff53564e /lib/zlog_5424.c
parent907a2395f423e3b97335d554557c2cef7195db84 (diff)
*: 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 'lib/zlog_5424.c')
-rw-r--r--lib/zlog_5424.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/zlog_5424.c b/lib/zlog_5424.c
index 7bfc89bb22..2a0e6aff85 100644
--- a/lib/zlog_5424.c
+++ b/lib/zlog_5424.c
@@ -1053,7 +1053,7 @@ bool zlog_5424_apply_dst(struct zlog_cfg_5424 *zcf)
{
int fd = -1;
- thread_cancel(&zcf->t_reconnect);
+ event_cancel(&zcf->t_reconnect);
if (zcf->prio_min != ZLOG_DISABLED)
fd = zlog_5424_open(zcf, -1);
@@ -1106,7 +1106,7 @@ bool zlog_5424_rotate(struct zlog_cfg_5424 *zcf)
if (!zcf->active)
return true;
- thread_cancel(&zcf->t_reconnect);
+ event_cancel(&zcf->t_reconnect);
/* need to retain the socket type because it also influences
* other fields (packets) and we can't atomically swap these