The referenced article states that there might not be a way to get friendly names for unmanaged threads. That doesn't matter to me since I just need a named list of managed threads for my own AppDomain.
The ProcessName is not really what I'm looking for, though.
User Profile
Collapse
-
-
I've come across that hook already. Unfortunately, this collection returns instances of type "ProcessThr ead" and this class doesn't hold the thread's name.
Maybe there's a way to obtain the friendly name for a ProcessThread instance?Leave a comment:
-
List of running threads by name
I'm looking for a way to find a specific running thread by name. I came across the System.Diagnost ics.Process.Thr eads collection but unfortunately, this collection holds ProcessThread objects which don't provide the thread's friendly name.
I expected to find something like that in System.AppDomai n. But while there is a CurrentThread property, this class lacks any sort of collection for all running threads.
I am pretty...
No activity results to display
Show More
Leave a comment: