[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bring Pytave into core
From: |
Carlo De Falco |
Subject: |
Re: Bring Pytave into core |
Date: |
Tue, 14 Apr 2015 15:10:53 +0000 |
On 14 Apr 2015, at 16:27, Jesús Zazueta <address@hidden> wrote:
> Hi. I'm also using the C++ api to control the Octave interpreter within the
> JVM, and I also get a seg fault if I don't call do_octave_at_exit().
>
> However, if I do, the process does shut down Octave, but it also brings down
> the JVM as well.
>
> Is there a method we could call to reset/do cleanup on the engine without
> terminating the host process?
>
> Thanks for your time and hel
>
This looks similar to what was discussed in this thread:
http://octave.1599824.n4.nabble.com/exposing-do-octave-atexit-in-the-API-tp4661829.html
the solution suggested by jwe there is using
#include <octave/toplev.h>
clean_up_and_exit (0);
to terminate the interpreter, as shown in the example
examples/code/embedded.cc
in the source tree
c.
- Re: Bring Pytave into core, (continued)
- Re: Bring Pytave into core, Julien Bect, 2015/04/06
- Re: Bring Pytave into core, Juan Pablo Carbajal, 2015/04/06
- Re: Bring Pytave into core, Carlo De Falco, 2015/04/06
- Re: Bring Pytave into core, Jordi Gutiérrez Hermoso, 2015/04/06
- Re: Bring Pytave into core, John W. Eaton, 2015/04/08
- Re: Bring Pytave into core, Colin Macdonald, 2015/04/09
- Re: Bring Pytave into core, Jordi Gutiérrez Hermoso, 2015/04/09
- Re: Bring Pytave into core, Mike Miller, 2015/04/09
- Re: Bring Pytave into core, Mike Miller, 2015/04/14
- Re: Bring Pytave into core, Jesús Zazueta, 2015/04/14
- Re: Bring Pytave into core,
Carlo De Falco <=
- Re: Bring Pytave into core, Tomasz Ożański, 2015/04/28
- Re: Bring Pytave into core, Mike Miller, 2015/04/29
- Re: Bring Pytave into core, Carlo De Falco, 2015/04/09
Re: Bring Pytave into core, Michael C. Grant, 2015/04/06