How to get Thread counting and Name ?
-
HI, How to check how many thread currently running?? Any possibility to get the solution ??
Yours, KaNNaN ----------------------------------------------------------------- "Success is When Ur Signature Becomes An Autograph"
-
HI, How to check how many thread currently running?? Any possibility to get the solution ??
Yours, KaNNaN ----------------------------------------------------------------- "Success is When Ur Signature Becomes An Autograph"
I have never found a way to take advantage of thread names. Ideally one would give Thread instances a name, and be able to identify them by that name (rather than by a system-assigned number), however it does not work at all. Furthermore, managed threads are virtual, there is no guaranteed one-to-one relationship with actual Windows threads, so you can't easily recognize your managed threads when looking at the output of tools such as Process Manager/TaskInfo :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.