examples/simple_create_queue.py | raw changeset files shortlog |
1.1 --- a/examples/simple_create_queue.py Sat Sep 15 23:47:05 2007 +0000 1.2 +++ b/examples/simple_create_queue.py Sat Sep 15 23:48:26 2007 +0000 1.3 @@ -10,6 +10,7 @@ 1.4 1.5 import pprocess 1.6 import time 1.7 +#import random 1.8 1.9 # Array size and a limit on the number of processes. 1.10 1.11 @@ -43,6 +44,7 @@ 1.12 if ch: 1.13 try: # Calculation work. 1.14 1.15 + #time.sleep(delay * random.random()) 1.16 time.sleep(delay) 1.17 ch.send((i, j, i * N + j)) 1.18