diff options
author | Mark Stapp <mjs@labn.net> | 2023-07-11 22:03:38 +0200 |
---|---|---|
committer | Mark Stapp <mjs@labn.net> | 2023-07-25 16:17:48 +0200 |
commit | adca5c22c573f17b09b96a0994953c8f643fd301 (patch) | |
tree | 84894373c496a0279b3fc5eb944803c53bcb6c34 /lib/wheel.c | |
parent | Merge pull request #14076 from chiragshah6/fdev1 (diff) | |
download | frr-adca5c22c573f17b09b96a0994953c8f643fd301.tar.xz frr-adca5c22c573f17b09b96a0994953c8f643fd301.zip |
* : include event ptr in event_execute api
Include an event ptr-to-ptr in the event_execute() api
call, like the various schedule api calls. This allows the
execute() api to cancel an existing scheduled task if that
task is being executed inline.
Signed-off-by: Mark Stapp <mjs@labn.net>
Diffstat (limited to 'lib/wheel.c')
-rw-r--r-- | lib/wheel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/wheel.c b/lib/wheel.c index e17995c64..2520e81d4 100644 --- a/lib/wheel.c +++ b/lib/wheel.c @@ -57,7 +57,7 @@ static void wheel_timer_thread(struct event *t) wheel = EVENT_ARG(t); - event_execute(wheel->master, wheel_timer_thread_helper, wheel, 0); + event_execute(wheel->master, wheel_timer_thread_helper, wheel, 0, NULL); } struct timer_wheel *wheel_init(struct event_loop *master, int period, |