RT-Thread/rt-thread — pull request #174 by grissiom (2013-10-14 05:53:02+00:00)
Title: 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.