If you have one main thread that starts two other threads. what is the cleanest way to make the primary thread wait for the two other threads?
I could use bgndworker and sleep spinner that checks for both the bgnd workers's IsBusy, but I would think there's a better way.
EDIT Some more requirements:
- The main thread has some other work to do (e.g. GUI).
- The two spawned threads should be able to report exceptions and return result values