summaryrefslogtreecommitdiff
path: root/examples/kernel/thread_dynamic.c
diff options
context:
space:
mode:
authorGrissiom <[email protected]>2013-10-14 09:50:18 +0800
committerGrissiom <[email protected]>2013-10-14 09:50:18 +0800
commitb72001fcac18d2c37c24e423cc7e15fe900dc172 (patch)
treefddd81c8ef3c78852b51bcd0f4863c629801bb0d /examples/kernel/thread_dynamic.c
parentca9b83c68fcc2b841400a5f4c7728a111582ffb7 (diff)
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.
Diffstat (limited to 'examples/kernel/thread_dynamic.c')
0 files changed, 0 insertions, 0 deletions