[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" prope
From: |
Pantxo Diribarne |
Subject: |
[Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties |
Date: |
Thu, 18 Jan 2018 06:00:23 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0 |
Follow-up Comment #7, bug #52804 (project octave):
>> The question now is does "Interruptible" and "BusyAction" work for the
XXXFcn correctly
I guess that the answer is no: I don't know that Octave's interpreter can be
interrupted in the middle of the evaluation of a program (except for
debugging). To my knowledge, there is no such thing as a signal saying the
interpreter it should interrupt its operations and evaluate something else
before proceeding (it would be useful though, so that one can "pause" a
lengthy operation and resume it later).
The following shows that callbacks are always queued and eventually executed
when drawnow is called.
plot (1:10)
hui = uicontrol ("style", "pushbutton", "callback", "disp ('button')")
tic ()
while (1)
if (toc > 5)
tic ()
disp ("processing queued callbacks")
drawnow ()
endif
endwhile
Try to click multiple times on the button and you'll see that the messages
appear all at once, when drawnow is called in the main program.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?52804>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties, Rik, 2018/01/04
- [Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties, Pantxo Diribarne, 2018/01/04
- [Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties, Rik, 2018/01/04
- [Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties, Pantxo Diribarne, 2018/01/05
- [Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties, Rik, 2018/01/05
- [Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties, Pantxo Diribarne, 2018/01/11
- [Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties, Rik, 2018/01/11
- [Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties,
Pantxo Diribarne <=
- [Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties, Pantxo Diribarne, 2018/01/18
- [Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties, Pantxo Diribarne, 2018/01/18
- [Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties, Pantxo Diribarne, 2018/01/19
- [Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties, Pantxo Diribarne, 2018/01/19
- [Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties, Rik, 2018/01/19
- [Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties, Pantxo Diribarne, 2018/01/21
- [Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties, Rik, 2018/01/22