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.
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.