Signals and Slots in D
Walter Bright
newshound at digitalmars.com
Fri Sep 29 10:15:23 PDT 2006
Georg Wrede wrote:
> Walter Bright wrote:
>> Looks like the deletion problem is a real issue. Let me think about it
>> a bit.
>
> Hmm. A "big" SS implementation (see previous thread here "Dissecting the
> SS") c.f. like the 111 case, has more deletion related issues.
>
> In a non-trivial application one can almost take it for granted that
> there's instance pooling going on, too.
>
> A robust implementation would guarantee that any way the observer gets
> "removed" guarantees it also ceases to exist as an observer. This includes
>
> - getting deleted
> - simply not being referred to anymore
> - getting moved to the unused instances pool
That's right.
More information about the Digitalmars-d
mailing list