Thursday, February 20, 2003

C# get current thread
int tid = System.Threading.Thread.CurrentThread.GetHashCode();
This doesn't seem to be the same as the thread id, but can be used in a similar way.

Comments: Post a Comment

<< Home

This page is powered by Blogger. Isn't yours?