mirror of
https://github.com/open-simh/simh.git
synced 2026-01-26 04:02:39 +00:00
SCP: Add prompt prior to fatal exit allowing error messages reading
As discussed in #594
This commit is contained in:
@@ -257,7 +257,10 @@ else
|
||||
if (stat == ETIMEDOUT)
|
||||
timedout = TRUE;
|
||||
else {
|
||||
fprintf (stderr, "sim_idle_ms_sleep(%u): pthread_cond_timedwait() return %d - %s\n", msec, stat, strerror (stat));
|
||||
char ans[32];
|
||||
|
||||
fprintf (stderr, "sim_idle_ms_sleep(%u): pthread_cond_timedwait() return %d - %s\r\n", msec, stat, strerror (stat));
|
||||
read_line_p ("Hit Return to exit: ", ans, sizeof (ans) - 1, stdin);
|
||||
abort ();
|
||||
}
|
||||
sim_idle_wait = FALSE;
|
||||
|
||||
Reference in New Issue
Block a user