diff libgui/src/m-editor/file-editor-tab.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 6d0585c8ee11
children 930c0fbc003b
line wrap: on
line diff
--- a/libgui/src/m-editor/file-editor-tab.cc	Wed Sep 11 16:40:19 2019 -0400
+++ b/libgui/src/m-editor/file-editor-tab.cc	Wed Sep 11 16:46:54 2019 -0400
@@ -1109,6 +1109,8 @@
     emit interpreter_event
       ([info] (interpreter& interp)
        {
+         // INTERPRETER THREAD
+
          bp_table::intmap line_info;
          line_info[0] = info.line;
 
@@ -1194,6 +1196,8 @@
     emit interpreter_event
       ([info] (interpreter& interp)
        {
+         // INTERPRETER THREAD
+
          if (qt_interpreter_events::file_in_path (info.file, info.dir))
            {
              tree_evaluator& tw = interp.get_evaluator ();
@@ -1325,6 +1329,8 @@
     emit interpreter_event
       ([this, info] (interpreter& interp)
        {
+         // INTERPRETER THREAD
+
          bp_table::intmap line_info;
          line_info[0] = info.line;