1
0
mirror of https://github.com/simh/simh.git synced 2026-02-22 23:29:15 +00:00
Files
simh.simh/sim_frontpanel.c
Mark Pizzolato f6dafeeed9 FRONTPANEL: Update API and cleanup deadlock and other bugs
- Add separate mutex serializing debug writes
- Change panel destructor to clear panel on successful destruction.
- Debug status info during shutdown/destruction.
- Request number tracking provided in request and response debug output.
- All relevant thread ids recorded to help debug deadlocks.
- Add debug abort interface to close debug file.
- Reliably detect transitions to HALT state
- When in the middle of a transition to HALT state, avoid calling any
  display callback to avoid deadlocks which can occur if the callback
  invokes a subsequent dialog with the simulator.
- More robustly capture the reason for the simulator HALTing.
- Avoid register list updates in the callback thread unless in the HALT state.
2023-01-29 15:59:59 -10:00

103 KiB