John,

It is suggested that you use Thread.GetHashCode() for this. See
http://discuss.develop.com/archives/wa.exe?A2=ind0011B&L=DOTNET&P=R52378

(watch for url wrap!)

Regards,
Jeroen

> -----Original Message-----
> From: dotnet discussion [mailto:[EMAIL PROTECTED]]
> On Behalf Of John Lam
> Sent: Tuesday, May 28, 2002 07:53
> To: [EMAIL PROTECTED]
> Subject: [DOTNET] Managed thread id?
>
>
> I know that I shouldn't write any code that depends on this, but it's
> kind of useful for debugging / test scenarios. Is there any way to get
> the managed thread id of a thread?
>
>
>
> Thanks,
>
>
>
> -John
>
http://www.iunknown.com <http://www.iunknown.com/>



You can read messages from the DOTNET archive, unsubscribe from DOTNET,
or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to