首页> 外国专利> System and method for freeing shared resources in a computer system

System and method for freeing shared resources in a computer system

机译:用于释放计算机系统中的共享资源的系统和方法

摘要

The present invention relates to systems and methods for freeing shared resources that remain allocated to a particular resource allocating process after the resource allocating process has terminated. The invention is useful in a computer system where shared hardware is accessed via a shared hardware driver layer. The shared hardware driver layer interfaces with either a shared API layer or a nonshared API layer. Processes wishing to access the shared hardware access the hardware through either the shared or nonshared API layer. To release resources and destroy objects in either the shared API layer or the shared hardware driver layer, the present invention uses a helper process that cleans up after termination of the resource allocation process. The helper process first calls a cleanup function in the shared API layer to release resources and destroy objects in the shared API layer and associated hardware driver. The helper process then loads a copy of the nonshared API layer and makes a call to a similar cleanup function to release any remaining resources and destroy any remaining objects. In the alternative, the helper process loads a copy of the nonshared API layer and calls to the similar cleanup function are made by the cleanup function in the shared API layer.
机译:本发明涉及用于在资源分配过程终止之后释放仍然分配给特定资源分配过程的共享资源的系统和方法。本发明在其中通过共享硬件驱动器层访问共享硬件的计算机系统中是有用的。共享的硬件驱动程序层与共享的API层或非共享的API层连接。希望访问共享硬件的进程通过共享或非共享API层访问硬件。为了释放资源并破坏共享API层或共享硬件驱动器层中的对象,本发明使用在资源分配过程终止之后清理的助手过程。帮助程序进程首先在共享API层中调用清除函数,以释放资源并破坏共享API层和关联的硬件驱动程序中的对象。然后,帮助程序进程将加载非共享API层的副本,并调用类似的清理功能以释放所有剩余资源并销毁所有剩余对象。或者,帮助程序将加载非共享API层的副本,并由共享API层中的cleanup函数进行对类似cleanup函数的调用。

著录项

  • 公开/公告号US6496864B1

    专利类型

  • 公开/公告日2002-12-17

    原文格式PDF

  • 申请/专利权人 MICROSOFT CORPORATION;

    申请/专利号US19980222062

  • 发明设计人 COLIN MCCARTNEY;

    申请日1998-12-29

  • 分类号G06F120/00;G06F131/40;

  • 国家 US

  • 入库时间 2022-08-22 00:06:11

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号