need to revert: adding datetime to debug code
This commit is contained in:
parent
05c95e0950
commit
1401f5b2ec
@ -5,6 +5,7 @@ import sys
|
|||||||
from multiprocessing.managers import BaseManager
|
from multiprocessing.managers import BaseManager
|
||||||
|
|
||||||
from optparse import OptionParser
|
from optparse import OptionParser
|
||||||
|
import datetime
|
||||||
|
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
|
||||||
@ -17,7 +18,7 @@ QueueManager.register('get_inqueue' )
|
|||||||
QueueManager.register('get_outqueue')
|
QueueManager.register('get_outqueue')
|
||||||
|
|
||||||
def work(inq, outq, g, myname):
|
def work(inq, outq, g, myname):
|
||||||
print "about to send my name: %s" % myname
|
print "%s about to send my name: %s" % (datetime.datetime.now(), myname)
|
||||||
outq.put((myname, "ready"))
|
outq.put((myname, "ready"))
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
|
Loading…
Reference in New Issue
Block a user