|
|
|
@ -445,6 +445,7 @@ def cpp_replay_process(cfg, lr, fingerprint=None): |
|
|
|
|
managed_processes[cfg.proc_name].prepare() |
|
|
|
|
managed_processes[cfg.proc_name].start() |
|
|
|
|
|
|
|
|
|
try: |
|
|
|
|
with Timeout(TIMEOUT): |
|
|
|
|
while not all(pm.all_readers_updated(s) for s in cfg.pub_sub.keys()): |
|
|
|
|
time.sleep(0) |
|
|
|
@ -469,7 +470,7 @@ def cpp_replay_process(cfg, lr, fingerprint=None): |
|
|
|
|
if not len(resp_sockets): # We only need to wait if we didn't already wait for a response |
|
|
|
|
while not pm.all_readers_updated(msg.which()): |
|
|
|
|
time.sleep(0) |
|
|
|
|
|
|
|
|
|
finally: |
|
|
|
|
managed_processes[cfg.proc_name].signal(signal.SIGKILL) |
|
|
|
|
managed_processes[cfg.proc_name].stop() |
|
|
|
|
|
|
|
|
|