summaryrefslogtreecommitdiff
path: root/include/rtm.h
diff options
context:
space:
mode:
authorGrissiom <[email protected]>2013-10-11 22:46:05 +0800
committerGrissiom <[email protected]>2013-10-11 22:51:38 +0800
commit6f71308ef529bfcecd54daaa309d1336ef0c6366 (patch)
treec21fe47733df26afc267dbcf5c19f9e7c1f5fcc7 /include/rtm.h
parent786a5541a3cdcc419c349943ee717f680cb87ec8 (diff)
kernel: add RT_DEBUG_IN_THREAD_CONTEXT
In thread context means: 1) the scheduler has been started; 2) not in interrupt context. It is more stronger than RT_DEBUG_NOT_IN_INTERRUPT. With this commit, you will catch the error on situations like taking mutex before scheduling instead of crashing on NULL pointer reference.
Diffstat (limited to 'include/rtm.h')
0 files changed, 0 insertions, 0 deletions