SCP: Expedite simulator detection of WRU delivery by signal

This commit is contained in:
Mark Pizzolato 2020-10-19 12:28:11 -07:00
parent dc4ce222e5
commit f1a513b8bf

1
scp.c
View file

@ -8813,6 +8813,7 @@ void int_handler (int sig)
stop_cpu = TRUE; stop_cpu = TRUE;
if (sig == SIGTERM) if (sig == SIGTERM)
sigterm_received = TRUE; sigterm_received = TRUE;
sim_interval = 0; /* Minimize when stop_cpu gets noticed */
} }
/* Examine/deposit commands /* Examine/deposit commands