[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to cancel a process in embedded octave
From: |
Jordi Gutiérrez Hermoso |
Subject: |
Re: How to cancel a process in embedded octave |
Date: |
Sat, 29 Dec 2012 19:01:17 -0500 |
On 29 December 2012 14:07, Nicanor García <address@hidden> wrote:
> How can I cancel a process (like when ctrl+c is pressed in normal execution)
> when using octave embedded (calling octave_main with the embedded flag on)
> in a standalone application?
This is the purpose of calling octave_quit() in the middle of such
loops, to make them interruptible:
http://hg.savannah.gnu.org/hgweb/octave/file/23a180fd186d/src/xpow.cc#l648
HTH,
- Jordi G. H.