mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-31 19:41:18 +08:00
kernel: mutex could only be released in thread context
Mutex has the idea of ownership, only the thread which owns the mutex can release it. So rt_mutex_release could only be called in thread context. Add a debug guard to it.
This commit is contained in:
parent
ca9b83c68f
commit
b72001fcac
Loading…
x
Reference in New Issue
Block a user