[riot-notifications] [RIOT-OS/RIOT] evtimer: Add function to retrieve the current remaining of an evtimer event (#8203)

Koen Zandberg notifications at github.com
Mon Dec 4 14:51:48 CET 2017


As the title states, this PR adds a function to evtimer to retrieve the time remaining for an evtimer_event_t.

Expected use: Display of collections/objects with a timeout based on an event. For example `_nib_offl_entry_t` (currently route lifetime isn't displayed with `nib route`).
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * evtimer: Add method for retrieving an event offset
  * tests/evtimer_msg: Add evtimer_get_offset test

-- File Changes --

    M sys/evtimer/evtimer.c (20)
    M sys/include/evtimer.h (11)
    M tests/evtimer_msg/main.c (6)
    M tests/evtimer_msg/tests/01-run.py (12)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/8203.patch
https://github.com/RIOT-OS/RIOT/pull/8203.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/8203
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20171204/7ed262fe/attachment.html>


More information about the notifications mailing list