signal slots (new, fixed version)
J Duncan
jtd514 at nospam.ameritech.net
Wed Nov 1 14:14:33 PST 2006
Walter Bright wrote:
> Sean Kelly wrote:
>> Lutger wrote:
>>> Thomas Kuehne wrote:
>>>> How about Object.notifyRegister and Object.notifyUnRegister? sample
>>>> use:
>>>> http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.learn&artnum=5016
>>>
>>> Oh crap I wish I knew about this undocumented feature before. Thank
>>> you this could be very useful, at least until weak references are
>>> part of the language.
>>
>> It was added in DMD 170-172, so it hasn't been around for long.
>
> It was added to support signals and slots, which will be in the next
> update. The whole thing then becomes almost trivial (!)
You are the man! I have been experimenting with hooking into object
destruction by replacing the dtor pointer in the classinfo. I came
across the monitor reference today in the ABI docs and have been looking
into it - wondering what you are up to. This is Very Cool! Thanks!
More information about the Digitalmars-d-announce
mailing list