This patch removes quit hook and fixes 1 bug:
- Fix "quit" hook in CMIDriver::DoMainLoop (MI)
- Fix bug when the handler thread exits without any notification (MI)
- Fix a race condition in CMICmnLLDBDebugger::MonitorSBListenerEvents (MI)
Differential D9275
Remove quit hook in CMIDriver::DoMainLoop (MI) Authored by ki.stfu on Apr 25 2015, 3:03 PM.
Details This patch removes quit hook and fixes 1 bug:
Diff Detail Event Timeline
Comment Actions OK I can see how it is working. The command processing thread would have put the event in the queue before returning. So there is no chance of us not finding it. Apart from a few inline comments, looks good.
| |||||||||||||||||||||||||||||||||||||||||||||
It would be better to add a few lines of comment to explain how it waits for empty queue which means that all events have been processed by the MonitorSBListenerEvents.