Message221307
Another option is instead of adding a timeout parameter, a new function to check if everything is done. Like:
def all_tasks_finished(self)
return self._unfinished_tasks._semlock._is_zero()
Which can then be utilized exactly shown in the above noted stackoverflow answer. This way it will be consistent with queue.py |
|
Date |
User |
Action |
Args |
2014-06-22 20:30:53 | tumert | set | recipients:
+ tumert, sbt, zach.ware, legordian |
2014-06-22 20:30:53 | tumert | set | messageid: <1403469053.27.0.56536157895.issue15983@psf.upfronthosting.co.za> |
2014-06-22 20:30:53 | tumert | link | issue15983 messages |
2014-06-22 20:30:52 | tumert | create | |
|