Return the approximate size of the queue (not reliable!).
(self)
| 105 | self.all_tasks_done.wait() |
| 106 | |
| 107 | def qsize(self): |
| 108 | '''Return the approximate size of the queue (not reliable!).''' |
| 109 | with self.mutex: |
| 110 | return self._qsize() |
| 111 | |
| 112 | def empty(self): |
| 113 | '''Return True if the queue is empty, False otherwise (not reliable!). |