[Mono-bugs] [Bug 339769] New: Implement MS.NET-style chaining of multicast delegates

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Nov 7 06:12:42 EST 2007


           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: mono-bugs at ximian.com
        ReportedBy: juraj at hotfeet.ch
         QAContact: mono-bugs at ximian.com
          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
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.

More information about the mono-bugs mailing list