discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dealloc Notification


From: Gerrit Van Dyk
Subject: Re: Dealloc Notification
Date: Wed, 14 Nov 2001 12:33:10 +0200

Helge wrote:

>I have two issues with that:
>a) compatibility (I consider that very critical !!)

I agree with you, but maybe we should start using "incompatibilities"
between GNUstep's components, "Hiding method declarations" etc. as long as
the open interface is compatible.

>BTW: IMHO one shouldn't use NSNotificationCenter for dealloc
>notifications for performance reasons. Eg Apple doesn't do so in EOF
>(for objectWillChange notifications) ! 
>We could (see above) use a queue for the dealloc-observers directly at
>the object.

I agree that NSNotificationCenter should not necessarily be used, but a
system for notifying observers should be. Your queue idea sounds a lot like
the queues they implement in Java for event handling.

Regards
Gerrit van Dyk

 
-------------------------------------------------------------------------
This e-mail is intended only for the use of the individual or entity named
above and may contain information that is confidential and privileged,
proprietary to the company and protected by law. If you are not the intended
recipient, you are hereby notified that any dissemination, distribution or
copying of this e-mail is strictly prohibited. Opinions, conclusions and
other information in this message that do not relate to the official
business of our company shall be understood as neither given nor endorsed by
it.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]