summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_rib.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-12-11 16:51:58 +0100
committerDonald Sharp <sharpd@nvidia.com>2023-03-24 13:32:17 +0100
commit5f6eaa9b9668f3f09fbf6b1dc4e0645e07f641c9 (patch)
treed8639a3f042a0de1e66bad71d330205619052b6e /zebra/zebra_rib.c
parent*: Convert thread_should_yield and thread_set_yield_time (diff)
downloadfrr-5f6eaa9b9668f3f09fbf6b1dc4e0645e07f641c9.tar.xz
frr-5f6eaa9b9668f3f09fbf6b1dc4e0645e07f641c9.zip
*: Convert a bunch of thread_XX to event_XX
Convert these functions: thread_getrusage thread_cmd_init thread_consumed_time thread_timer_to_hhmmss thread_is_scheduled thread_ignore_late_timer Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/zebra_rib.c')
-rw-r--r--zebra/zebra_rib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c
index 2864b9231..17e71db49 100644
--- a/zebra/zebra_rib.c
+++ b/zebra/zebra_rib.c
@@ -4415,7 +4415,7 @@ void rib_update(enum rib_update_event event)
{
struct rib_update_ctx *ctx;
- if (thread_is_scheduled(t_rib_update_threads[event]))
+ if (event_is_scheduled(t_rib_update_threads[event]))
return;
ctx = rib_update_ctx_init(0, event);