Re: fd(undef)

2000-01-20 Thread Joshua N Pritikin
On Thu, Jan 20, 2000 at 11:44:52AM -0500, [EMAIL PROTECTED] wrote: > JNP> Hm. I'm not sure. Certainly, it is reasonable to clear the fd like: > >> > JNP> $io_watcher->fd(undef); > >> > >> would that stop/cancel the watcher? what effect does it have other than > >> to clear the attr

Re: fd(undef)

2000-01-20 Thread Uri Guttman
> "JNP" == Joshua N Pritikin <[EMAIL PROTECTED]> writes: JNP> Hm. I'm not sure. Certainly, it is reasonable to clear the fd like: >> JNP> $io_watcher->fd(undef); >> >> would that stop/cancel the watcher? what effect does it have other than >> to clear the attribute? JNP> II

0.59

2000-01-20 Thread Joshua N Pritikin
# This is a patch for Event-0.58 to update it to Event-0.59 # # To apply this patch: # STEP 1: Chdir to the source directory. # STEP 2: Run the 'applypatch' program with this patch file as input. # # If you do not have 'applypatch', it is part of the 'makepatch' package # that you can fetch from

Re: memory leak fixed?

2000-01-20 Thread Joshua N Pritikin
On Thu, Jan 20, 2000 at 04:04:38PM +0100, [EMAIL PROTECTED] wrote: > > Events & ioevents are never deallocated. If you think this is a > > problem then I can provide a function to deallocate everything on the > > freelist. However, I doubt that this is worthwhile. > > Hm, what does it mean? If

Re: memory leak fixed?

2000-01-20 Thread Hr. Jochen Stenzel
> Event is at the mercy of perl's reference counting mechanism. Event > must delay deallocation of a cancelled watcher until perl releases all > references to it. Ah, I see. > Events & ioevents are never deallocated. If you think this is a > problem then I can provide a function to deallocate

Re: fd(undef)

2000-01-20 Thread Joshua N Pritikin
On Wed, Jan 19, 2000 at 11:56:14PM -0500, [EMAIL PROTECTED] wrote: > JNP> On Wed, Jan 19, 2000 at 11:06:15PM -0500, [EMAIL PROTECTED] wrote: > >> well, i finally spent a little serious time and found my stupid bug. bad > >> hash name in a constructor method vs. its use in another method. it

Re: memory leak fixed?

2000-01-20 Thread Joshua N Pritikin
On Thu, Jan 20, 2000 at 01:31:15PM +0100, [EMAIL PROTECTED] wrote: > thank you for the quickly provided patch. The script runs really better, > terminates and finally reports: > > [DBG] All watchers were cancelled: > 1-27947-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0 Oh good. > So, after a call

Re: memory leak fixed?

2000-01-20 Thread Hr. Jochen Stenzel
Hello, thank you for the quickly provided patch. The script runs really better, terminates and finally reports: [DBG] All watchers were cancelled: 1-27947-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0 So, well!, the IO watcher count is reset to 0 as I expected. (It is still the same script, I only

Re: event.pm core dump

2000-01-20 Thread Artur Bergman
On Wed, 19 Jan 2000, Joshua N Pritikin wrote: > On Wed, Jan 19, 2000 at 10:33:03PM -0500, [EMAIL PROTECTED] wrote: > > > "JNP" == Joshua N Pritikin <[EMAIL PROTECTED]> writes: > > > > >> #5 0x5b328 in Perl_sighandler () > > >> #6 Yikes! > > > > JNP> Hm, an ev