I am using VB.NET 2003 and a threadpool.
In a threadpool, is there any way to find out the thread count or some kind
of thread identity ?
Thank you.
Dim clsEachMessage As New EachMessage
ThreadPool.Queu eUserWorkItem(N ew WaitCallback(Ad dressOf
clsEachMessage. ProcessMessage) )
Public Class EachMessage
Public Sub ProcessMessage( ByVal stateInfo As Object)
-->HERE I would like to find out the thread count or some kind of thread
identity of this particular thread
In a threadpool, is there any way to find out the thread count or some kind
of thread identity ?
Thank you.
Dim clsEachMessage As New EachMessage
ThreadPool.Queu eUserWorkItem(N ew WaitCallback(Ad dressOf
clsEachMessage. ProcessMessage) )
Public Class EachMessage
Public Sub ProcessMessage( ByVal stateInfo As Object)
-->HERE I would like to find out the thread count or some kind of thread
identity of this particular thread
Comment