M
Mike
Hello,
I was wondering what's the best way to return data from a
worker-thread back to the main "calling" thread?
1) Specifying a callback delegate that the thread calls upon
completion.
2) Rasiing an event upon thread compeltion.
Which is the best method? What are the pros/cons? I cannot really seem
to figure out why one would be better than the other.
Are there other more efficient options?
Thanks
-Mike
I was wondering what's the best way to return data from a
worker-thread back to the main "calling" thread?
1) Specifying a callback delegate that the thread calls upon
completion.
2) Rasiing an event upon thread compeltion.
Which is the best method? What are the pros/cons? I cannot really seem
to figure out why one would be better than the other.
Are there other more efficient options?
Thanks
-Mike