()
| 199 | lock.acquire(timeout=0.5) |
| 200 | self.end = time.monotonic() |
| 201 | def send_signals(): |
| 202 | for _ in range(40): |
| 203 | time.sleep(0.02) |
| 204 | os.kill(process_pid, signal.SIGUSR1) |
| 205 | done.release() |
| 206 | |
| 207 | with threading_helper.wait_threads_exit(): |
| 208 | # Send the signals from the non-main thread, since the main thread |