提交 770cc2ff 编写于 作者: S shaojinchun

修改mempool使用rt_list_for_each宏进行遍历

上级 ae1fdc70
......@@ -691,7 +691,7 @@ long list_mempool(void)
mp = (struct rt_mempool *)obj;
suspend_thread_count = 0;
for (node = mp->suspend_thread.next; node != &mp->suspend_thread; node = node->next)
rt_list_for_each(node, &mp->suspend_thread)
{
suspend_thread_count++;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册