I know the managed thread id of thread (obtained fr.om a locked object) I also know that this threadis causing a deadlock. Is it possible to identify the windows thread id? is there any utility available for identifying this.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The Threads Window in VS2010 displays both the managed and the native ID.
EDIT in reply to comment: I don’t believe the information is available in VS2005/8, but you can get it during debugging by loading SOS through the immediate window.
.load soscommand in the immediate window.!threadsSOS command. The ID column holds the managed ID for the thread.