[riot-notifications] [RIOT-OS/RIOT] tests/xtimer_usleep: recognize negative offset (#11493)

MrKevinWeiss notifications at github.com
Wed May 8 16:23:50 CEST 2019


Just to chime in, I think the time should wait at least the time specified (both for sleep functions and for timer periph functions).  A case is if you expect something to be triggered after your sleep but you wake up too early you take the value of a previous event.

If everyone agrees on that then we probably shouldn't merge the test change or, if everyone disagrees (at least on the sleep perspective), we should update the docs to say this is the behaviour of sleep as my assumption for sleep is at least not about...  Maybe update the docs either way...

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11493#issuecomment-490506317
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190508/258a5f63/attachment.html>


More information about the notifications mailing list