Login  Register

Re: Finalization question

Posted by Schwab,Wilhelm K on Oct 23, 2009; 6:19am
URL: https://forum.world.st/Finalization-question-tp1300962p1300967.html

Sig,

Thanks for the quick reply.  I finished my thought, which might help you figure out what I'm missing.  As an aside, I would like to identify and finalize the Outlook hotkey that launched that email before I was ready - I've never seen Outlook do *anything* that fast.

Bill




-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Igor Stasenko
Sent: Friday, October 23, 2009 1:09 AM
To: [hidden email]
Subject: Re: [Pharo-project] Finalization question

2009/10/23 Schwab,Wilhelm K <[hidden email]>:
> Hello all,
>
> I have started to port some of my code that relies on Dolphin's finalization.  The idea is that one sends #beFinalizable to the object requiring finalization.  Dolphin sets a flag on the object (in its header??) that the vm later notices.

a rough analogy is something like that:

Object>>beFinalizable
"A shallow copy of the receiver will receive a #finalize message, once the receiver become garbage"
  WeakRegistry default add: self


> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>



--
Best regards,
Igor Stasenko AKA sig.

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project