std.signals with multiple signals?

Serg Kovrov kovrov at no.spam
Thu Nov 16 00:02:22 PST 2006


Bill Baxter wrote:
> Another difference is that you haven't provided anything for 
> disconnecting a listener who's no longer interested, or made any 
> provisions for a listener getting destroyed.  All that is handled by 
> std.signals.

True, I did not yet implement disconnecting, mostly because my Listeners 
usually lives longer than Subjects. In those rare cases I just catch an 
"Access Violation" exception, which probably not a best practice, though.

-- 
serg.



More information about the Digitalmars-d mailing list