Dear all,
  I create a thread and call its start  method, after some times pass, I
make it wait for a event and block itself, then I call
thread's abort method.  I found my thread count(viewed by process explorer)
is still the number before I call abort.
I search it from lots of donet books. The only way I can do is calling abort
or call a flag and blah...
My situation is like as follows.

I have a multithread application using dotnet 1.1.One of the threads hang I
don't when it will cause this problem.
So I guess I need to write a monitor thread to monitor all the threads. Once
thread hang, I can call the thread's abort function and recreate a thread
with the same properties
to do its job. I found the thread count increasing . I just  don't  know
why  the thread count  not decrease when the monitor call the thread's abort
function?
Could someone tell me how to do this?

Best regards Peter

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to