Guest User

Untitled

a guest
Sep 14th, 2011
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.28 KB | None | 0 0
  1. @@ -19,7 +19,9 @@
  2.  print "Sending tasks to workers..."
  3.  
  4.  # The first message is "0" and signals start of batch
  5. -sender.send('0')
  6. +sink = context.socket(zmq.PUSH)
  7. +sink.connect("tcp://localhost:5558")
  8. +sink.send('0')
  9.  
  10.  # Initialize random number generator
  11.  random.seed()
Advertisement
Add Comment
Please, Sign In to add comment