Joshua N Pritikin <[EMAIL PROTECTED]> writes:
>On Tue, May 14, 2002 at 10:04:51AM +0100, Nick Ing-Simmons wrote:
>> >In Event.xs, I change _loop() to:
>> >
>> >PROTOTYPE: ;$
>> >CODE:
>> >double maxtm = 60;
>> >if (items == 1) maxtm = SvNV(ST(0));
>>
>> What frees the maxtm SV ?
>
On Tue, May 14, 2002 at 10:04:51AM +0100, Nick Ing-Simmons wrote:
> >In Event.xs, I change _loop() to:
> >
> >PROTOTYPE: ;$
> >CODE:
> >double maxtm = 60;
> >if (items == 1) maxtm = SvNV(ST(0));
>
> What frees the maxtm SV ?
Huh? maxtm is a double. ST(0) is on the stack. As fa
Bradley Brahms <[EMAIL PROTECTED]> writes:
>Here is an update where I am in testing right now.
>
>Having noted that using one_event() does not cause a memory growth problem I
>thought I would change Event.xs to make loop() be a while(1) loop calling
>safe_one_event(). The purpose of the test was t
On Mon, May 13, 2002 at 06:32:04PM -0400, Bradley Brahms wrote:
> To do this, one would add the following to their script:
>
> Event->timer(interval => 5, cb => sub{unloop;});
>
> then change their Event::loop; line to
> while (1) {
> Event::loop;
> }
i think this is the sam
Here is an update where I am in testing right now.
Having noted that using one_event() does not cause a memory growth problem I
thought I would change Event.xs to make loop() be a while(1) loop calling
safe_one_event(). The purpose of the test was to see if that would solve the
growth problem. I