\ Send a signal to the dirty arbiter. :attr sig: `signal.SIG*` value
(self, sig)
| 882 | sys.exit(-1) |
| 883 | |
| 884 | def kill_dirty_arbiter(self, sig): |
| 885 | """\ |
| 886 | Send a signal to the dirty arbiter. |
| 887 | |
| 888 | :attr sig: `signal.SIG*` value |
| 889 | """ |
| 890 | if not self.dirty_arbiter_pid: |
| 891 | return |
| 892 | |
| 893 | try: |
| 894 | os.kill(self.dirty_arbiter_pid, sig) |
| 895 | except OSError as e: |
| 896 | if e.errno == errno.ESRCH: |
| 897 | self.dirty_arbiter_pid = 0 |
| 898 | self.dirty_arbiter = None |
| 899 | |
| 900 | def reap_dirty_arbiter(self): |
| 901 | """\ |
no outgoing calls
no test coverage detected