开发者

Why concurrency contention tool in vs 2010 doesn't use managed thread ids?

开发者 https://www.devze.com 2023-01-25 12:04 出处:网络
If you have use开发者_高级运维d the concurrency contention profile tool provided in vs 2010, you will notice that all the thread ids used in the report are not managed thread ids, which is annoying. I

If you have use开发者_高级运维d the concurrency contention profile tool provided in vs 2010, you will notice that all the thread ids used in the report are not managed thread ids, which is annoying. I want to know which thread is which one and how can I easily map those thread ids (usually a 4-digit id) used in the report against the ManagedThreadID value I can get from the code?

Thank you.


If you use the 'Collect resource contention data' option (see below), then you will be able to see the managed threads with their names.

Why concurrency contention tool in vs 2010 doesn't use managed thread ids?

This is described on John Robbin's blog and may be enough to help you identify the managed threads. Unfortunately you can't get the mapping back to the managed thread IDs.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号