[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #39723] history commands lost when selecting b
From: |
Dan Sebald |
Subject: |
[Octave-bug-tracker] [bug #39723] history commands lost when selecting block and right-clicking "Evaluate" |
Date: |
Thu, 22 Aug 2013 00:40:15 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 SeaMonkey/2.15 |
Follow-up Comment #2, bug #39723 (project octave):
Very creative solution given the constraints. It works fairly well here, and
I'm inclined to say go with this because of the simplicity of it.
If I'm understanding correctly, the semaphore can remain within the GUI code
because of the callback mechanism. That is, although the code looks like GUI
code it is really being executed from the worker thread.
I'm not a fan of waiting on things (in this case, the next evaluated command
is waiting for the previous to finish), but as I said, I don't think there is
much else that can be done with the setup as it is. [The preference would be
to simply queue the command and when the result is complete a signal is
issued.]
I tried breaking things by evaluating long commands such as
for i=1:5000000; j=i; endfor
for i=1:5000000; j=i; endfor
for i=1:5000000; j=i; endfor
for i=1:5000000; j=i; endfor
for i=1:5000000; j=i; endfor
for i=1:5000000; j=i; endfor
and then try to inject other callback operations into the system like
breakpoints and directory changes. It seems to behave fairly well, if only
freezing the system for a while.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?39723>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #39723] history commands lost when selecting block and right-clicking "Evaluate", Dan Sebald, 2013/08/07
- [Octave-bug-tracker] [bug #39723] history commands lost when selecting block and right-clicking "Evaluate", Torsten, 2013/08/21
- [Octave-bug-tracker] [bug #39723] history commands lost when selecting block and right-clicking "Evaluate",
Dan Sebald <=
- [Octave-bug-tracker] [bug #39723] history commands lost when selecting block and right-clicking "Evaluate", Torsten, 2013/08/22
- [Octave-bug-tracker] [bug #39723] history commands lost when selecting block and right-clicking "Evaluate", Dan Sebald, 2013/08/22
- [Octave-bug-tracker] [bug #39723] history commands lost when selecting block and right-clicking "Evaluate", Torsten, 2013/08/23
- [Octave-bug-tracker] [bug #39723] history commands lost when selecting block and right-clicking "Evaluate", Dan Sebald, 2013/08/23
- [Octave-bug-tracker] [bug #39723] history commands lost when selecting block and right-clicking "Evaluate", Torsten, 2013/08/23
- [Octave-bug-tracker] [bug #39723] history commands lost when selecting block and right-clicking "Evaluate", Dan Sebald, 2013/08/23
- [Octave-bug-tracker] [bug #39723] history commands lost when selecting block and right-clicking "Evaluate", Torsten, 2013/08/25