[corlib] Ensure Thread.ManagedThreadId is unique per thread.
This fixes bug #667329. The problem was that ManagedThreadId was created from a per-appdomain counter, but stored in a per-thread storage, so if two threads could end up with the same ManagedThreadId if a second appdomain executed on the second thread first.
Showing
想要评论请 注册 或 登录