Hello
I am trying to use timer_wheel framework to start a timer. I followed the 
examples given in fdio, but the expiry_callback function never being called 
back.
I am not sure if timer failed to expire or my usage has problems. I used the 
below functions:

Timer wheel Init:
{
tw_timer_wheel_1t_1w_2048sl_t* tw = &example_main->timer_wheels;
tw_timer_wheel_init_1t_1w_2048sl (tw, example_timer_expired_callback, 1.0 /* 
timer period 1s */ , 1024);
tw->last_run_time = vlib_time_now (vm);
}

Timer Start:
handle = tw_timer_start_1t_1w_2048sl(&example->timer_wheels,1,0,5);

The expiry functiion example_timer_expired_callback never been called.

Is there any issue in the way I am using or is there any knwon issue in TW 
framework?
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#13260): https://lists.fd.io/g/vpp-dev/message/13260
Mute This Topic: https://lists.fd.io/mt/32039603/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to