def get_first_result(threads):
while True:<EOL><INDENT>for thread in threads:<EOL><INDENT>if not thread.is_alive():<EOL><INDENT>return thread.queue.get()<EOL><DEDENT><DEDENT><DEDENT>
this blocks, waiting for the first result that returns from a thread
    :type threads: list[Thread]