Message93996
| Author |
pajs@fodder.org.uk |
| Recipients |
jnoller, pajs@fodder.org.uk, pitrou |
| Date |
2009年10月14日.15:18:26 |
| SpamBayes Score |
0.0002663692 |
| Marked as misclassified |
No |
| Message-id |
<1255533507.91.0.473589551371.issue7123@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
If you mean, in main() instead of doing:
while True:
q.put(["data1", "data2"])
t = Process(target=popJobs, args=(q, ))
t.start()
t.join()
and doing:
while True:
q.put(["data1", "data2"])
popJobs(q)
instead. Then, the bug does indeed occur the same way. It did take more
iterations before it occured however.
If however, you meant:
while True:
fail=failureObject()
for x in ["data1", "data2"]:
checkAlive(fail, x)
print(fail.status())
Then the bug never occurs. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2009年10月14日 15:18:28 | pajs@fodder.org.uk | set | recipients:
+ pajs@fodder.org.uk, pitrou, jnoller |
| 2009年10月14日 15:18:27 | pajs@fodder.org.uk | set | messageid: <1255533507.91.0.473589551371.issue7123@psf.upfronthosting.co.za> |
| 2009年10月14日 15:18:26 | pajs@fodder.org.uk | link | issue7123 messages |
| 2009年10月14日 15:18:26 | pajs@fodder.org.uk | create |
|