multithreading - Name of the thread in the ThreadPool - C# -
I am using ThreadPool
to execute a set of functions in a window service . This service produces new threads of every 10 seconds. I want to record the name of the thread that raises a particular task from the database. Is it possible to get the thread name?
I do not know that threaded thread is assigned a meaningful, but you always get debugging / logging purposes Should be able to use.
Comments
Post a Comment