diff options
author | Donald Sharp <sharpd@nvidia.com> | 2023-03-04 15:14:52 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2023-03-24 13:32:17 +0100 |
commit | ce50d11c4d89304825b614d63fe6d7bd8ad2d517 (patch) | |
tree | c5c8aad8c6b51d88033cb47b1fa373b91ae2efb1 /lib/libfrr.c | |
parent | *: Convert THREAD_XXX macros to EVENT_XXX macros (diff) | |
download | frr-ce50d11c4d89304825b614d63fe6d7bd8ad2d517.tar.xz frr-ce50d11c4d89304825b614d63fe6d7bd8ad2d517.zip |
*: Convert thread_master_XXX functions to event_master_XXX
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/libfrr.c')
-rw-r--r-- | lib/libfrr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libfrr.c b/lib/libfrr.c index d7e87adc4..6b7579712 100644 --- a/lib/libfrr.c +++ b/lib/libfrr.c @@ -769,7 +769,7 @@ struct event_master *frr_init(void) zprivs_init(di->privs); - master = thread_master_create(NULL); + master = event_master_create(NULL); signal_init(master, di->n_signals, di->signals); hook_call(frr_early_init, master); @@ -1213,7 +1213,7 @@ void frr_fini(void) frr_pthread_finish(); zprivs_terminate(di->privs); /* signal_init -> nothing needed */ - thread_master_free(master); + event_master_free(master); master = NULL; zlog_tls_buffer_fini(); zlog_fini(); |