调用Task_stat(Task_self(), &statbuf);查看线程堆栈使用情况,发现这个值不对,正常.used应该会动态变大,但是实际好像used好像是不会变。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
调用Task_stat(Task_self(), &statbuf);查看线程堆栈使用情况,发现这个值不对,正常.used应该会动态变大,但是实际好像used好像是不会变。
你可以试下在程序里,根据条件手动申请动态内存并且释放,诗诗查看线程堆栈的情况,可以加大内存的利用率看一下是否有明显的变化。