[riot-notifications] [RIOT-OS/RIOT] core/mutex: Add mutex_cancel (#15442)
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...
More information about the notifications