changeset 26560:8953dd219f4c stable

mlock __init_qt__ function
author John W. Eaton <jwe@octave.org>
date Wed, 16 Jan 2019 12:11:16 -0500
parents 5ace3d2b4674
children a595c22464e4 622a148b341f
files libgui/graphics/__init_qt__.cc
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libgui/graphics/__init_qt__.cc	Wed Jan 16 10:21:14 2019 -0500
+++ b/libgui/graphics/__init_qt__.cc	Wed Jan 16 12:11:16 2019 -0500
@@ -57,6 +57,8 @@
           {
             gh_manager::auto_lock lock;
 
+            interp.mlock ();
+
             qRegisterMetaType<graphics_object> ("graphics_object");
 
             gh_manager::enable_event_processing (true);