octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #51631] make check fails at __opengl_info__


From: Rik
Subject: [Octave-bug-tracker] [bug #51631] make check fails at __opengl_info__
Date: Tue, 1 Aug 2017 20:32:52 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0

Follow-up Comment #17, bug #51631 (project octave):

@jwe: It is definitely a race condition.  I had experimented a bit with
removing or reducing the pause() before the refresh in __opengl_info__.m and I
got worse results (more failures) as the delay was reduced.


    hf = figure ("position", [0,0,1,1], "toolbar", "none", "menubar",
"none");
    hax = axes ();
    pause (0.2);  # <-- altered this delay
+    refresh (hf);


The delay didn't have to be large, .01 was enough most of the time.  But it
will vary from machine to machine, etc.

Could the refresh routine (drawnow) be changed so that it doesn't return from
C++ until the updates have taken place?




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51631>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]