[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #45935] Ctrl+C doesn't break procedure
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #45935] Ctrl+C doesn't break procedure |
Date: |
Fri, 11 Sep 2015 20:39:15 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.1.0 |
Follow-up Comment #3, bug #45935 (project octave):
The way interrupts work in Octave is that they are supposed to set a global
value to indicate whether an interrupt has happened and then Octave
periodically checks the value of the global value to see whether it should
stop processing and return to the prompt.
Looking at samin.cc from the optim package, it doesn't appear to check the
status of the global interrupt variable. I'm surprised you are ever able to
interrupt it.
Are you able to interrupt something like
tic; sin (randn (8000, 8000)); toc
when using the GUI? If so, then I think interrupts are working as expected
and the bug is in the samin function itself.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?45935>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #45935] Ctrl+C doesn't break procedure, Diego, 2015/09/11
- [Octave-bug-tracker] [bug #45935] Ctrl+C doesn't break procedure, John W. Eaton, 2015/09/11
- [Octave-bug-tracker] [bug #45935] Ctrl+C doesn't break procedure, Diego, 2015/09/11
- [Octave-bug-tracker] [bug #45935] Ctrl+C doesn't break procedure,
John W. Eaton <=
- [Octave-bug-tracker] [bug #45935] Ctrl+C doesn't break procedure, Diego, 2015/09/11
- [Octave-bug-tracker] [bug #45935] Ctrl+C doesn't break procedure, Mike Miller, 2015/09/11
- [Octave-bug-tracker] [bug #45935] Ctrl+C doesn't break procedure, Mike Miller, 2015/09/11
- [Octave-bug-tracker] [bug #45935] Ctrl+C doesn't break procedure, Torsten, 2015/09/12
- [Octave-bug-tracker] [bug #45935] Ctrl+C doesn't break procedure, Diego, 2015/09/12
- [Octave-bug-tracker] [bug #45935] Ctrl+C doesn't break procedure, Mike Miller, 2015/09/12