I am trying to control the state of a thread group in a Microsoft.NET application written in C #. I would also like to keep track of any child threads generated by source threads.
In Java, you can assign threads to a group of threads, and their children will also belong to the group. Is there an equivalent in .NET?
I briefly looked at ExecutionContext and LogicalCallContext, but I donโt see how to find all the threads that are in context. Raymond Chen has an article on the Win32 API method for listing threads, but I hope I don't need to do this.
source
share