Proper way to wait for a thread to return.

Printable View