Thanks  :)

On Wed, Jul 1, 2015 at 3:08 PM, Kaspar Schleiser <[email protected]>
wrote:

> Hi,
>
> On 07/01/15 11:27, rakendra thapa wrote:
> > 1) How does RIOT handles timer interrupt generated by multiple threads ?
>
> Use one of the abstractions, currently vtimer, soon hopefully wtimer.
>
> > 2) How much hard bounded is it for the timers to be implemented as count
> up
> > timer.
>
> Up- or down-counting doesn't really make a difference for the
> implementation. If a timer only supports down-counting, I usually tweak
> timer_read to return "TIMER_MAXVALUE-timer_value". Similar for timer_set_*.
>
> Kaspar
> _______________________________________________
> devel mailing list
> [email protected]
> https://lists.riot-os.org/mailman/listinfo/devel
>
_______________________________________________
devel mailing list
[email protected]
https://lists.riot-os.org/mailman/listinfo/devel

Reply via email to