@parallel
def loiter(serial, delay):
    pid = os.getpid()
    print('%2d pid = %d' % (serial, pid))
    sleep(delay)
    return pid
dataset/ETHPy150Open fluentpython/example-code/attic/concurrency/parallel/lelo_ex.py/loiter/original