(self)
| 228 | self._error_interceptor.print(None) |
| 229 | |
| 230 | def complete_queue(self): |
| 231 | if not self._enqueue: |
| 232 | return |
| 233 | |
| 234 | with self._confirmation_lock: |
| 235 | self._queue.put(True) |
| 236 | self._confirmation_event.wait() |
| 237 | self._confirmation_event.clear() |
| 238 | |
| 239 | def tasks_to_complete(self): |
| 240 | if self._enqueue and self._owner_process_pid != os.getpid(): |