Message221307
| Author |
tumert |
| Recipients |
legordian, sbt, tumert, zach.ware |
| Date |
2014年06月22日.20:30:52 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1403469053.27.0.56536157895.issue15983@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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 |
|
History
|
|---|
| 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 |
|