Reputation: 5203
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.
Upvotes: 2
Views: 1254
Reputation: 116401
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 sos
command in the immediate window.!threads
SOS command. The ID column holds the managed ID for the thread. Upvotes: 3