[riot-notifications] [RIOT-OS/RIOT] core/mutex: Add mutex_cancel (#15442)
notifications at github.com
Thu Nov 19 00:37:56 CET 2020
@benpicco approved this pull request.
Looks good to me.
This makes for a useful addition. Having a way to abort a thread blocking on a mutex is a good tool to have.
I was contemplating a micro-optimization of just storing `-ECANCELED` in the `cancelled` flag and then unconditionally returning that, but it's cleaner this way.
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