[riot-notifications] [RIOT-OS/RIOT] core/mutex: Add mutex_cancel (#15442)

Kaspar Schleiser notifications at github.com
Mon Nov 16 11:02:31 CET 2020

> How about making `mutex_lock()` return `void` and provide `mutex_lock_may_fail()` in addition? Code not checking the return code of `mutex_lock_may_fail()` would be an obvious red flag.

That sounds nice. We can even mark that as "result must be checked" so the compiler warns!

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201116/5f34db15/attachment-0001.htm>

More information about the notifications mailing list