[riot-notifications] [RIOT-OS/RIOT] core/mutex: Add mutex_cancel (#15442)
benpicco
notifications at github.com
Mon Nov 16 11:39:09 CET 2020
Yes but I meant that
```C
setup_isr_that_unblocks_mutex_but_mask_it();
unsigned state = irq_disable();
unmask_isr_that_unblocks_mutex();
```
procedure.
If you have no interrupt to configure, there would be no difference to the current `mutex_lock()` which disables interrupts as well.
--
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/15442#issuecomment-727894211
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201116/787da060/attachment-0001.htm>
More information about the notifications
mailing list