(self, timeout=None)
| 35 | return self.returncode |
| 36 | |
| 37 | def wait(self, timeout=None): |
| 38 | if self.returncode is None: |
| 39 | if timeout is not None: |
| 40 | from multiprocessing.connection import wait |
| 41 | if not wait([self.sentinel], timeout): |
| 42 | return None |
| 43 | # This shouldn't block if wait() returned successfully. |
| 44 | return self.poll(os.WNOHANG if timeout == 0.0 else 0) |
| 45 | return self.returncode |
| 46 | |
| 47 | def _send_signal(self, sig): |
| 48 | if self.returncode is None: |