[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #56336] "pause" takes too long when graphics e
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #56336] "pause" takes too long when graphics events have to be processed |
Date: |
Sun, 19 May 2019 01:14:31 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko |
Update of bug #56336 (project octave):
Status: Patch Submitted => Fixed
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #2:
I pushed your patch here
(https://hg.savannah.gnu.org/hgweb/octave/rev/f16471efcdf4).
Without the patch, I was able to see delays as long as 10 seconds (instead of
5) by creating a lot of graphics events.
However, even with your patch I could get delays of 5.25 seconds (instead of
5.0). I made the patch slightly more complicated by checking the remaining
time immediately after processing the graphics events, but before calling
nanosleep. This change has made the accuracy much tighter. I now see delays
less than 100 milliseconds.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56336>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/