[riot-notifications] [RIOT-OS/RIOT] core/mutex: Add mutex_cancel (#15442)
notifications at github.com
Tue Nov 17 14:41:08 CET 2020
@maribu commented on this pull request.
/* We were woken up by scheduler. Waker removed us from queue. */
- return 0;
+void mutex_lock(mutex_t *mutex)
+ unsigned irq_state = irq_disable();
+ DEBUG("PID[%" PRIkernel_pid "]: Mutex in use.\n", thread_getpid());
I made the debug output more consistent and just use the function names, which both describe quite well what is done and how to find the corresponding code.
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