A
Amendra
hi,
I have a Parent child design of a multi threaded application in C#. My issue
is I want the parent class to be able abort or stop the child threads. I
tried abort from the parent, then the child goes to ThreadAbort Requested
state, and not abort state. But when I call the abort method from the child
Thread itself, it throws ThreadAbortException and aborts. Why is it, that
this does not work the same way when being aborted by the Childs parent.
I need the thread to abort in the way it aborts when being called abort by
the thread itself.
Any solution.
Thanks
Amendra
I have a Parent child design of a multi threaded application in C#. My issue
is I want the parent class to be able abort or stop the child threads. I
tried abort from the parent, then the child goes to ThreadAbort Requested
state, and not abort state. But when I call the abort method from the child
Thread itself, it throws ThreadAbortException and aborts. Why is it, that
this does not work the same way when being aborted by the Childs parent.
I need the thread to abort in the way it aborts when being called abort by
the thread itself.
Any solution.
Thanks
Amendra