diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2022-07-21 08:26:43 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2022-07-21 08:30:50 -0400 |
| commit | 2783a6921c8fd3917caa539df82e0d9f2a23eb0c (patch) | |
| tree | d66407b5a832fe546455929c48511154d7a98edc /ldpd/lde_lib.c | |
| parent | fa935aa7e8d46e4e5ff717f68523261903bb68b7 (diff) | |
ldpd: Convert thread_cancel to THREAD_OFF
Just convert all uses of thread_cancel to THREAD_OFF
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'ldpd/lde_lib.c')
| -rw-r--r-- | ldpd/lde_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ldpd/lde_lib.c b/ldpd/lde_lib.c index 1ade3c5378..4366560546 100644 --- a/ldpd/lde_lib.c +++ b/ldpd/lde_lib.c @@ -1068,7 +1068,7 @@ void lde_gc_timer(struct thread *thread) void lde_gc_start_timer(void) { - thread_cancel(&gc_timer); + THREAD_OFF(gc_timer); thread_add_timer(master, lde_gc_timer, NULL, LDE_GC_INTERVAL, &gc_timer); } @@ -1076,5 +1076,5 @@ lde_gc_start_timer(void) void lde_gc_stop_timer(void) { - thread_cancel(&gc_timer); + THREAD_OFF(gc_timer); } |
