mirror of
https://github.com/simh/simh.git
synced 2026-04-17 00:36:00 +00:00
FRONTPANEL: Fix repeating register data gathering lock problem (COVERITY)
This commit is contained in:
@@ -2003,6 +2003,7 @@ while ((p->sock != INVALID_SOCKET) &&
|
|||||||
if (p->callback) {
|
if (p->callback) {
|
||||||
pthread_mutex_unlock (&p->io_lock);
|
pthread_mutex_unlock (&p->io_lock);
|
||||||
p->callback (p, p->simulation_time, p->callback_context);
|
p->callback (p, p->simulation_time, p->callback_context);
|
||||||
|
pthread_mutex_lock (&p->io_lock);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!strcmp (s + strlen (sim_prompt), register_get_echo)) {
|
if (!strcmp (s + strlen (sim_prompt), register_get_echo)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user