首页> 外国专利> Management of the access to objects with the aid of references with three states

Management of the access to objects with the aid of references with three states

机译:借助具有三种状态的引用来管理对对象的访问

摘要

The present invention uses three-state references to manage access to referenced objects. In a preferred embodiment, a pointer swizzling facility receives a request to swizzle a persistent pointer. In response to the request, the facility copies the persistent pointer to an indirection slot, and replaces the original persistent pointer with a smart pointer containing a pointer to the indirection slot. When the facility subsequently detects an attempt to dereference the smart pointer, the facility loads the referenced object using the persistent pointer stored in the indirection slot pointed to by the smart pointer. The facility further replaces the persistent pointer in the indirection slot with a pointer to the loaded referenced object. The facility also replaces the pointer to the indirection slot in the smart pointer with a pointer to the loaded dereferenced object. Finally, the facility dereferences the pointer to the loaded referenced object in response to the attempt to dereference the smart pointer. IMAGE
机译:本发明使用三态参考来管理对参考对象的访问。在一个优选实施例中,指针搅动设施接收搅动持久指针的请求。响应于该请求,该工具将持久性指针复制到一个间接插槽,并用包含指向该间接插槽的指针的智能指针替换原始的持久性指针。当设施随后检测到尝试取消对智能指针的引用时,设施将使用存储在由智能指针指向的间接插槽中的持久性指针加载引用的对象。该工具还用指向已加载引用对象的指针替换了间接插槽中的持久指针。该工具还将指向智能指针中间接插槽的指针替换为指向已加载的解除引用对象的指针。最后,该工具响应于尝试取消对智能指针的引用而取消对指向加载的引用对象的指针的引用。 <图像>

著录项

  • 公开/公告号DE69738101T2

    专利类型

  • 公开/公告日2008-01-03

    原文格式PDF

  • 申请/专利权人

    申请/专利号DE1997638101T

  • 发明设计人

    申请日1997-11-14

  • 分类号G06F9/44;G06F17/30;

  • 国家 DE

  • 入库时间 2022-08-21 19:47:32

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号