"Note An operating-system ThreadId has no fixed relationship to a managed
thread, because an unmanaged host can control the relationship between
managed and unmanaged threads. Specifically, a sophisticated host can use
the CLR Hosting API to schedule many managed threads against the same
operating system thread, or to move a managed thread between different
operating system threads."
As I understand it, the ProcessThread class refers to an operating system
thread while the Thread class refers to a managed thread.
--
Jonathan Allen
"dotnethasyou" <dotnethasyou@aew_nospam.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Is there anyway to connect a ProcessThread and a Thread object?
When a debug event is notified, I receive a thread ID. I would like to
get
the name of this thread, but ProcessThread (which is what it is an ID
for)
does not have a name property. Thread objects do have a name property,
but
no ID property. Is there any connection, or is there a way to link one to
the other?
TIA
Charles
[He's here with his questions again, I hear you cry]
Have you find any answer for this question I am also interested in it
Thanks
User submitted from AEWNET (http://www.aewnet.com/)