Mercurial > octave
comparison libgui/src/main-window.cc @ 27393:efe72866b483
mark all interpreter_event lambda functions with special comment
* Canvas.cc, GLCanvas.cc, file-editor-tab.cc, main-window.cc,
octave-qobject.cc, set-path-model.cc: Mark all lambda functions passed
to interpreter_event signals with "INTERPRETER THREAD" comments as a
reminder that they will be executed in the interpreter thread.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 11 Sep 2019 16:46:54 -0400 |
parents | a329a41cf341 |
children | 930c0fbc003b |
comparison
equal
deleted
inserted
replaced
27392:820a87b87c01 | 27393:efe72866b483 |
---|---|
1160 // We are in debug mode, just call dbstep. | 1160 // We are in debug mode, just call dbstep. |
1161 | 1161 |
1162 emit interpreter_event | 1162 emit interpreter_event |
1163 ([this] (interpreter& interp) | 1163 ([this] (interpreter& interp) |
1164 { | 1164 { |
1165 // INTERPRETER THREAD | |
1166 | |
1165 F__db_next_breakpoint_quiet__ (interp, | 1167 F__db_next_breakpoint_quiet__ (interp, |
1166 ovl (m_suppress_dbg_location)); | 1168 ovl (m_suppress_dbg_location)); |
1167 Fdbstep (interp); | 1169 Fdbstep (interp); |
1168 | 1170 |
1169 command_editor::interrupt (true); | 1171 command_editor::interrupt (true); |