[riot-notifications] [RIOT-OS/RIOT] sys/sema: allow to use ztimer and/or xtimer (#15782)

Hauke Petersen notifications at github.com
Mon Jan 18 18:13:45 CET 2021


Did another take on this, and I think with the API part I am quite happy now. The new take applies the exact same style than we use for the `sys/event` module (see also #15789). The `sema_post_timed()` function(s) are simply only available if the fitting timer backend was compiled in.

The only thing that needs more work is the implementation part. Here we need some smarter approach to prevent code duplication I guess...

-- 
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/15782#issuecomment-762376660
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210118/dd75b2d0/attachment.htm>


More information about the notifications mailing list