发明名称 |
BREAKING A CIRCULAR REFERENCE BETWEEN PARENT AND CHILD OBJECTS |
摘要 |
Architecture that automatically breaks the circular reference between objects without any different logic by introducing a helper object called a child object container. The child object is contained within the container object and both share a reference counter. The parent object holds a strong reference to the container object. When adding a reference to the child object both the shared reference counter and the parent reference counter increase. When releasing a reference to the child object both the shared reference counter and the parent reference counter decrease. This approach provides a systematic way of solving the circular reference problem that does not rely on any weak-reference feature provided by the programming language.
|
申请公布号 |
US2010241675(A1) |
申请公布日期 |
2010.09.23 |
申请号 |
US20090406963 |
申请日期 |
2009.03.19 |
申请人 |
MICROSOFT CORPORATION |
发明人 |
YOUNG ROBERT W.;SHAO YU;LIANG RUI;LEUNG YIU-MING |
分类号 |
G06F17/30 |
主分类号 |
G06F17/30 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|