Timer utility function to use single timer

Bag, Amit K <amit.k.bag@...>

Hi All,

In Zephyr there will be a chance to run out of timers at times and we will not get the timer handle to use for our modules.
Means whenever we required a timer for our module we can call a timer API defined in zephyr (i.e. task_timer_alloc(),task_timer_start(),task_timer_stop, etc )
or we need to have a pool of timer handle at the time of initialization so that we can use one of them from the pool when we need it.
Is there such a utility function already available. In case of multiple task are calling timer function and the OS is running out of timer to satisfy all the timer calls how this is handled in Zephyr OS.

Thanks & Regards,
Amit Bag

Join devel@lists.zephyrproject.org to automatically receive all group messages.