本文介绍了如何衡量线程堆栈的使用情况?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好。
我需要测量在线程中调用函数时使用了多少堆栈。如果我在thead的启动函数中执行此操作,我将获得有关线程的堆栈使用情况的一些信息。这有助于我创建具有适当堆栈大小的线程。
mr.abzadeh
编辑:为什么没有反应?伙计在哪里?
解决方案
Hello guys.
I need to measure how much stack is used when I call a function in a thread. If I do this at the starting function of a thead, I will get some information about stack usage of thread. This helps me create threads with appropriate stack size.
mr.abzadeh
Edit: Why no respnce? where are guys?
解决方案
这篇关于如何衡量线程堆栈的使用情况?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!