octave-maintainers
[Top][All Lists]
Advanced

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

Re: [OctDev] is memory leak of figure


From: Jordi Gutiérrez Hermoso
Subject: Re: [OctDev] is memory leak of figure
Date: Wed, 30 Mar 2011 21:55:34 -0600

On 30 March 2011 21:32, Daniel J Sebald <address@hidden> wrote:
> On 03/30/2011 09:57 PM, Ben Abbott wrote:
>
>>> Should I propose a new feature for gnuplot that will cause an exit if an
>>> interactive window is closed?
>>
>> I don't think that is a good idea.
>>
>> (1) There is no synchronous communication between gnuplot and octave,
>> and(2) Gnuplot can't tell us when its windows are closed.
>>
>> It may be possible to request the x11 window id from gnuplot, but that
>> will not help with other terminal types (aqua, windows ,etc). Nor does it
>> resolve the problem with missing synchronous communication.
>
> Well, what I was thinking is that whenever one of the interactive windows is
> closed, it would trigger gnuplot to exit and gnuplot's process would no
> longer be in the operating system.
>
> Octave would just need to check if its registered process ID still exists.

Ick. Check when? Are you proposing to spin on IPC?

I agree with Ben here. This is the biggest reason why we have a
different graphics backend to begin with. IPC with gnuplot is messy.

Better to focus our efforts on fixing outstanding fltk backend issues.

- Jordi G. H.


reply via email to

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