diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2022-12-10 09:08:37 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2023-03-24 08:32:17 -0400 |
| commit | 332beb64b886ee811ae0df05f1f3f21628c100b7 (patch) | |
| tree | 95dfe35b6a90082d4ce572aeb2d46c22ff53564e /pathd/path_pcep_controller.c | |
| parent | 907a2395f423e3b97335d554557c2cef7195db84 (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 'pathd/path_pcep_controller.c')
| -rw-r--r-- | pathd/path_pcep_controller.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pathd/path_pcep_controller.c b/pathd/path_pcep_controller.c index 7df3143129..53963c50bc 100644 --- a/pathd/path_pcep_controller.c +++ b/pathd/path_pcep_controller.c @@ -398,9 +398,9 @@ void pcep_thread_cancel_timer(struct event **thread) } if ((*thread)->master->owner == pthread_self()) { - thread_cancel(thread); + event_cancel(thread); } else { - thread_cancel_async((*thread)->master, thread, NULL); + event_cancel_async((*thread)->master, thread, NULL); } } |
