asdfgroup has asked for the wisdom of the Perl Monks concerning the following question:
Looks like this code use memory infinitely.use Event; Event->signal(signal=>'HUP', cb=>sub {$i++; kill 1, $$}); Event->signal(signal=>'ALRM', cb=>sub {printf "%d\t%d\n", ++$t, $i-$ol +d_i; $old_i=$i; ; alarm 1}); alarm 1; kill 1, $$; Event::loop;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Event.pm memory leek ?
by cazz (Pilgrim) on Apr 22, 2005 at 13:17 UTC | |
by asdfgroup (Beadle) on Apr 22, 2005 at 19:02 UTC | |
by cazz (Pilgrim) on Apr 22, 2005 at 19:49 UTC | |
|
Re: Event.pm memory leek ?
by salva (Canon) on Apr 22, 2005 at 14:52 UTC | |
by asdfgroup (Beadle) on Apr 22, 2005 at 19:07 UTC |