Return True if the queue is empty, False otherwise (not reliable!).
(self)
| 113 | return self._qsize() |
| 114 | |
| 115 | def empty(self) -> bool: |
| 116 | """Return True if the queue is empty, False otherwise (not |
| 117 | reliable!).""" |
| 118 | |
| 119 | with self.mutex: |
| 120 | return self._empty() |
| 121 | |
| 122 | def full(self) -> bool: |
| 123 | """Return True if the queue is full, False otherwise (not |