remove the ready flag if you're going to die
This commit is contained in:
@@ -76,6 +76,7 @@ if __name__ == '__main__':
|
|||||||
print "%s: got message from master: %s" % (myname, action)
|
print "%s: got message from master: %s" % (myname, action)
|
||||||
|
|
||||||
if action in ('teardown', 'slay'):
|
if action in ('teardown', 'slay'):
|
||||||
|
masterq.get()
|
||||||
break
|
break
|
||||||
|
|
||||||
while not tasksq.empty():
|
while not tasksq.empty():
|
||||||
|
|||||||
Reference in New Issue
Block a user