Return the approximate size of the queue (not reliable!).
(self)
| 90 | self.all_tasks_done.wait() |
| 91 | |
| 92 | def qsize(self): |
| 93 | '''Return the approximate size of the queue (not reliable!).''' |
| 94 | with self.mutex: |
| 95 | return self._qsize() |
| 96 | |
| 97 | def empty(self): |
| 98 | '''Return True if the queue is empty, False otherwise (not reliable!). |