[riot-devel] vtimer_usleep_until or similar

Kaspar Schleiser kaspar at schleiser.de
Tue Oct 21 17:38:29 CEST 2014


On Tue, 21 Oct 2014 17:28:21 +0200
Daniel Amkær Sørensen <daniel.amkaer at gmail.com> wrote:

> I'll check it out tomorrow.
> What happens if the interval is passed already when calling the sleep
> function?
I didn't add checks for that. In the best case, vtimer_sleep_until returns an error. In the worst case, the task hangs about 2^32 ticks.

I thought about that, too. Will probably add some check...


More information about the devel mailing list