Exemple #1
0
 def delayed_(fn):
     global ndispatched
     print('\rdispatched: {0:d} jobs'.format(ndispatched), end='', file=sys.stderr)
     sys.stderr.flush()
     ndispatched += 1
     return delayed(fn)
Exemple #2
0
 def delayed_(fn):
     return delayed(fn)
Exemple #3
0
 def delayed_(i, fn):
     print('\rdispatched: {0:9d} reads'.format(i), end='', file=stderr)
     stderr.flush()
     return delayed(fn)
Exemple #4
0
 def delayed_(i, fn):
     print('\rdispatched: {0:9d} reads'.format(i), end='', file=stderr)
     stderr.flush()
     return delayed(fn)
Exemple #5
0
 def delayed_(i, fn):
     return delayed(fn)