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

Marian Buschsieweke notifications at github.com
Sat Nov 14 10:03:47 CET 2020


@maribu commented on this pull request.



> @@ -49,6 +49,13 @@ int mutex_lock(mutex_t *mutex)
     }
 
     thread_t *me = thread_get_active();
+#if IS_USED(MODULE_CORE_MUTEX_CANCEL)
+    if (me->wait_data == mutex) {

Yes, indeed. I will add doc next week

-- 
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#discussion_r523396814
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201114/300de572/attachment.htm>


More information about the notifications mailing list