mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-18 22:09:53 +08:00
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.