[riot-notifications] [RIOT-OS/RIOT] xtimer: Skip ahead when target time has already passed (#7629)

Joakim NohlgÄrd notifications at github.com
Wed Sep 20 12:19:39 CEST 2017


Based on top of #7496, #7628 
The purpose is to get back on schedule after something has made us miss a deadline. This changes the behaviour of the periodic functions to skip iterations in case the schedule is missed.
You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/7629

-- Commit Summary --

  * xtimer: xtimer_set_msg: Minor documentation fixes
  * xtimer: Use MUTEX_INIT_LOCKED for initialization
  * xtimer: eliminate goto in xtimer_periodic_wakeup
  * xtimer: Split xtimer_periodic_wakeup into a generic xtimer_periodic
  * xtimer: Add xtimer_periodic_msg
  * tests: Add xtimer_periodic_msg test application
  * tests/xtimer_periodic_wakeup: Remove chronos blacklist
  * squash xtimer comment indentation
  * xtimer: Fix backoff condition in _xtimer_set_absolute
  * xtimer_periodic: Skip ahead when target time has already passed

-- File Changes --

    M sys/include/xtimer.h (47)
    M sys/include/xtimer/implementation.h (10)
    M sys/xtimer/xtimer.c (151)
    M sys/xtimer/xtimer_core.c (4)
    A tests/xtimer_periodic_msg/Makefile (6)
    A tests/xtimer_periodic_msg/main.c (81)
    M tests/xtimer_periodic_wakeup/Makefile (2)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/7629.patch
https://github.com/RIOT-OS/RIOT/pull/7629.diff

-- 
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/7629
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20170920/36f93e2a/attachment.html>


More information about the notifications mailing list