如何找到活动的线程数? [英] how to find the active thread count?
本文介绍了如何找到活动的线程数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有叫成C ++库C#程序。在C#程序过程中具有较高的线程数50 - 60。大多数人似乎在C ++中创建和我supect大多数被暂停/等待。如何找到多少这些线程处于活动状态,在给定时间点?
i have a c# program which calls into a c++ library. The c# programs process has a high thread count 50 - 60. Most seem to be created in c++ and i supect most are suspended/waiting. How do i find how many of these threads are active at a given point in time?
感谢
推荐答案
HTTP ://msdn.microsoft.com/library/system.diagnostics.process.threads(v = VS.90)的.aspx
这篇关于如何找到活动的线程数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文