Message189305
| Author |
sbt |
| Recipients |
aod, sbt |
| Date |
2013年05月15日.21:19:00 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1368652740.56.0.406673401326.issue17985@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
From the docs:
qsize()
Return the approximate size of the queue. Because of
multithreading/multiprocessing semantics, this number
is not reliable.
Adding a short sleep before calling qsize() and empty() should make things appear to work.
But really, there are no good reasons for using qsize() except for debugging. The same applies to queue.Queue. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2013年05月15日 21:19:00 | sbt | set | recipients:
+ sbt, aod |
| 2013年05月15日 21:19:00 | sbt | set | messageid: <1368652740.56.0.406673401326.issue17985@psf.upfronthosting.co.za> |
| 2013年05月15日 21:19:00 | sbt | link | issue17985 messages |
| 2013年05月15日 21:19:00 | sbt | create |
|