mirror of
https://github.com/simh/simh.git
synced 2026-01-11 23:52:58 +00:00
FRONTPANEL: Allow simulation startup to take up to 10 seconds (in 100ms steps)
This commit is contained in:
parent
ab402130b1
commit
df6953bf82
@ -566,7 +566,7 @@ if (1) {
|
||||
}
|
||||
#endif
|
||||
}
|
||||
for (i=0; i<5; i++) {
|
||||
for (i=0; i<100; i++) { /* Allow up to 10 seconds waiting for simulator to start up */
|
||||
p->sock = sim_connect_sock_ex (NULL, hostport, NULL, NULL, SIM_SOCK_OPT_NODELAY | SIM_SOCK_OPT_BLOCKING);
|
||||
if (p->sock == INVALID_SOCKET)
|
||||
msleep (100);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user