On Thu, Mar 12, 2009 at 01:15:46PM +0100, Gregor Goldbach wrote:
> Nicholas Clark wrote:
>
> >>> I understand initialization of an XS module may be modified using
> >>> BOOT.
> >>> However, there seems to be no counterpart of BOOT. How do I e.g. free
> >>> memory I allocated in BOOT?
> [...]
> >
Steve Fink wrote:
>> [perl objects]
>>
>>> Yes, but perl objects are going to be cleaned up (or at least, any with
>>> DESTROY methods are going to get it called) before then, so that's somewhat
>>> a red herring.
>>>
>>> But possibly also a solution - anything allocated in BOOT that is stashed
>>
On Thu, Mar 12, 2009 at 5:15 AM, Gregor Goldbach wrote:
> Nicholas Clark wrote:
>
I understand initialization of an XS module may be modified using
BOOT.
However, there seems to be no counterpart of BOOT. How do I e.g. free
memory I allocated in BOOT?
> [...]
Or is the cur
Nicholas Clark wrote:
>>> I understand initialization of an XS module may be modified using
>>> BOOT.
>>> However, there seems to be no counterpart of BOOT. How do I e.g. free
>>> memory I allocated in BOOT?
[...]
>>> Or is the current practice to write an XS function that e.g. frees the
>>> mem
muppet wrote:
>> I understand initialization of an XS module may be modified using BOOT.
>> However, there seems to be no counterpart of BOOT. How do I e.g. free
>> memory I allocated in BOOT?
[..]
>> Or is the current practice to write an XS function that e.g. frees the
>> memory allocate at BOOT
On Wed, Mar 11, 2009 at 07:28:34PM -0400, muppet wrote:
>
> On Mar 11, 2009, at 5:58 AM, Gregor Goldbach wrote:
>
> >Hi everyone,
> >
> >I understand initialization of an XS module may be modified using
> >BOOT.
> >However, there seems to be no counterpart of BOOT. How do I e.g. free
> >memory
On Mar 11, 2009, at 5:58 AM, Gregor Goldbach wrote:
Hi everyone,
I understand initialization of an XS module may be modified using
BOOT.
However, there seems to be no counterpart of BOOT. How do I e.g. free
memory I allocated in BOOT?
Is it okay to call call_atexit() for this purpose? Dyna