1
0
mirror of https://github.com/simh/simh.git synced 2026-01-11 23:52:58 +00:00

FRONTPANEL: Fix repeating register data gathering lock problem (COVERITY)

This commit is contained in:
Mark Pizzolato 2017-03-20 23:37:50 -07:00
parent 2d1b969cb7
commit b2cd329f4c

View File

@ -2003,6 +2003,7 @@ while ((p->sock != INVALID_SOCKET) &&
if (p->callback) {
pthread_mutex_unlock (&p->io_lock);
p->callback (p, p->simulation_time, p->callback_context);
pthread_mutex_lock (&p->io_lock);
}
}
if (!strcmp (s + strlen (sim_prompt), register_get_echo)) {