help-octave
[Top][All Lists]
Advanced

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

Re: How to cancel a process in embedded octave


From: Sergei Steshenko
Subject: Re: How to cancel a process in embedded octave
Date: Sat, 29 Dec 2012 12:01:59 -0800 (PST)

>________________________________
> From: Nicanor García <address@hidden>
>To: "address@hidden" <address@hidden> 
>Sent: Saturday, December 29, 2012 9:07 PM
>Subject: How to cancel a process in embedded octave
> 
>
>Hello,
>
>
>I'm using Octave 3.6 in Linux Mint and I'm using it to process audio signals 
>in a standalone application.
>
>I have a quick question:
>
>
>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?
>
>
>Thank you very much.
>
>
>Nicanor.
>
>_______________________________________________
>Help-octave mailing list
>address@hidden
>https://mailman.cae.wisc.edu/listinfo/help-octave
>
>

Again, one needs to know how exactly Octave interacts with GUI.

If Octave is a thread, then you need to terminate a thread, so it's a question 
of multithreaded programming.

If Octave is a separate process, you need to send to it KILL signal. And there 
is a number of KILL signals.

Regards,
  Sergei.



reply via email to

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