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

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

[Octave-bug-tracker] [bug #37672] GUI doesn't react to CTRL+C


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #37672] GUI doesn't react to CTRL+C
Date: Mon, 25 Nov 2013 21:38:27 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130917 Firefox/17.0 Iceweasel/17.0.9

Follow-up Comment #51, bug #37672 (project octave):

I'm attaching a change that allows system() to be interrupted when running
Octave with the GUI on Unixy systems.  However, I don't think we can use this
change because it will make Octave crash when interrupting calls to
multi-threaded BLAS functions, for example.

The only other thing I can think of is to somehow get (or track) the list of
processes that are in the same process group as Octave and send SIGINT to all
of them except the Octave process and then use pthread_kill to send SIGINT to
the Octave interpreter thread.  Is there some easy way to get the list of
processes in the process group?  If not, then it will take some work to keep
track of the processes that we create, and it won't be possible to track all
of the processes that might be created in .oct files (for example).

(file #29713)
    _______________________________________________________

Additional Item Attachment:

File name: diffs-system-interrupt.txt     Size:1 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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