help-octave
[Top][All Lists]
Advanced

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

Re: DLD function unloading


From: David Bateman
Subject: Re: DLD function unloading
Date: Wed, 17 Sep 2003 15:11:18 +0200
User-agent: Mutt/1.3.28i

Yes, there is the mlock function in the latest versions of octave.
But to remain compatiable with older versions I tend to use

  fbi_sym_tab->lookup("func")->mark_as_static ();

where "func" is the name of the function

Cheers
David

According to Shai Ayal <address@hidden> (on 09/17/03):
> Hi all,
> 
> Is there a way to protect DLD functions (oct files) from being unloaded 
> by "clear all" ?
> Under what circumstances are DLD functions unloaded ?
> 
> I am asking beacuse I want to have some persistant data saved throughout 
> an octave session (e.g. the pid of a spawned process). If I just use 
> some static var inside a DLD function, it will be erased whenever this 
> function is unloaded.
> 
>       Shai Ayal
> 
> 
> 
> -------------------------------------------------------------
> Octave is freely available under the terms of the GNU GPL.
> 
> Octave's home on the web:  http://www.octave.org
> How to fund new projects:  http://www.octave.org/funding.html
> Subscription information:  http://www.octave.org/archive.html
> -------------------------------------------------------------

-- 
David Bateman                                address@hidden
Motorola CRM                                 +33 1 69 35 48 04 (Ph) 
Parc Les Algorithmes, Commune de St Aubin    +33 1 69 35 77 01 (Fax) 
91193 Gif-Sur-Yvette FRANCE

The information contained in this communication has been classified as: 

[x] General Business Information 
[ ] Motorola Internal Use Only 
[ ] Motorola Confidential Proprietary



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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