mirror of https://github.com/RT-Thread/rt-thread
解决 list_mutex 互斥量没有线程持有时打印错误
This commit is contained in:
parent
713be7f3c8
commit
cdb5ce8d04
|
@ -453,7 +453,7 @@ long list_mutex(void)
|
||||||
maxlen, RT_NAME_MAX,
|
maxlen, RT_NAME_MAX,
|
||||||
m->parent.parent.name,
|
m->parent.parent.name,
|
||||||
RT_NAME_MAX,
|
RT_NAME_MAX,
|
||||||
m->owner->parent.name,
|
(m->owner == RT_NULL) ? "(null)" : m->owner->parent.name,
|
||||||
m->hold,
|
m->hold,
|
||||||
m->priority,
|
m->priority,
|
||||||
rt_list_len(&m->parent.suspend_thread));
|
rt_list_len(&m->parent.suspend_thread));
|
||||||
|
@ -466,7 +466,7 @@ long list_mutex(void)
|
||||||
maxlen, RT_NAME_MAX,
|
maxlen, RT_NAME_MAX,
|
||||||
m->parent.parent.name,
|
m->parent.parent.name,
|
||||||
RT_NAME_MAX,
|
RT_NAME_MAX,
|
||||||
m->owner->parent.name,
|
(m->owner == RT_NULL) ? "(null)" : m->owner->parent.name,
|
||||||
m->hold,
|
m->hold,
|
||||||
m->priority,
|
m->priority,
|
||||||
rt_list_len(&m->parent.suspend_thread));
|
rt_list_len(&m->parent.suspend_thread));
|
||||||
|
|
Loading…
Reference in New Issue