octave-maintainers
[Top][All Lists]
Advanced

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

Re: signals hanling in octave


From: Miroslaw Dach
Subject: Re: signals hanling in octave
Date: Mon, 23 Oct 2006 10:07:12 -0500
User-agent: Thunderbird 1.5.0.7 (X11/20060915)

Hi John,

Thank you very much for the implementation. I have tested that and it works great!!! In order to avoid the memory leak I will install the version from CVS as you suggested.

Many thanks to  you and Paul.

Best Regards

Miroslaw Dach


John W. Eaton wrote:
On 20-Oct-2006, Miroslaw Dach wrote:

| Thank you for your detailed e-mails. Does it mean that I can use the | patch done by John for octave version 2.9.9.

You could probably apply the patch to 2.9.9, but if you are using the
MEX interface extensively, you might want the latest CVS since I fixed
some fairly significant memory management bugs yesterday.  The
problems showed up as leaks, not crashes, so if you have infinite
memory maybe you don't care.

| If so what would be the proper way to register my_clean_up function in | my mex file.

Same as in Matlab:

  static void my_clean_up (void)
  {
    ...
  }

  mexFunction (...)
  {
    ...
    mexAtExit (my_clean_up);
    ...
  }

jwe



reply via email to

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