John Wood wrote:
Does anyone know how to enumerate the managed threads in the current
process?
Process.Threads gives you a list of ProcessThreads, but I want to
somehow get a list of the managed threads...
I'd like to know that as well. I'm not aware of any
straight forward way to do that, and it would very
helpful in debugging deadlocks (as a thread dump in
Java is.) Alternatively, you can register all the
threads you create with a manager of your own. You'd
also need to monitor if the threads are alive so you
don't retain them unnecessarily.
Jose Solorzano