Join Generator provides a simple API for joining multiple threads of control.