How unique is ManagedThreadID?

后端 未结 2 601
生来不讨喜
生来不讨喜 2021-02-18 15:45

For ManagedThreadID, MSDN says:

Gets a unique identifier for the current managed thread.

In what context does \"unique\" apply?

2条回答
  •  悲哀的现实
    2021-02-18 15:59

    Thread ID is unique per process during a thread's lifecycle. After the thread terminates, its number can be reused.

提交回复
热议问题