H
hdjim
When you cancel a backgroundworker thread via
backgroundWorker.CancelAsync() what happens to the process that was
running on that thread? Is the rug just pulled out from under it?
I’d like to have the process be notified that a cancel was issued by
the calling foreground thread and have the process running on the
background thread exit via code that’s written to handle such a cancel
event. Is that possible? If so, I'd appreciate some code examples.
If not, what good is the background worker if it could leave data
running in a background process in unpredictable state?
Thanks
hd
backgroundWorker.CancelAsync() what happens to the process that was
running on that thread? Is the rug just pulled out from under it?
I’d like to have the process be notified that a cancel was issued by
the calling foreground thread and have the process running on the
background thread exit via code that’s written to handle such a cancel
event. Is that possible? If so, I'd appreciate some code examples.
If not, what good is the background worker if it could leave data
running in a background process in unpredictable state?
Thanks
hd