https://bugzilla.novell.com/show_bug.cgi?id=339769

           Summary: Implement MS.NET-style chaining of multicast delegates
           Product: Mono: Runtime
           Version: 1.2
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: P5 - None
         Component: misc
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [EMAIL PROTECTED]
          Found By: ---


This bug about the last issue(s) in bug 324303.

Right now, multicast delegates (MCDs) are chained up in a linked list. The
methods
GetInvocationList() and KPM() (used by RemoveImpl) temporarily build a
double linked list. This makes the code rather ugly and might lead to leaks.

According to "CLR via C#" (Jeffrey Richter), p. 340-344, MS.net uses a
different approach for the chaining. MCD have a field
"_invocationList", which contains null or a reference to a array of
delegates. If this field is null, the containing MCD is a "regular
MCD" otherwise the containing MCS's only purpose is holding the list
of chained MCDs.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to