首页> 外国专利> Methods and apparatus for detecting deadlock in multithreading programs

Methods and apparatus for detecting deadlock in multithreading programs

机译:在多线程程序中检测死锁的方法和装置

摘要

A method of detecting deadlock in a multithreading program is provided. An invocation graph is constructed having a single root and a plurality of nodes corresponding to one or more functions written in code of the multithreading program. A resource graph is computed in accordance with one or more resource sets in effect at each node of the invocation graph. It is determined whether cycles exist between two or more nodes of the resource graph. A cycle is an indication of deadlock in the multithreading program.
机译:提供了一种在多线程程序中检测死锁的方法。构造一个调用图,它具有一个根和多个节点,这些节点对应于用多线程程序的代码编写的一个或多个函数。根据在调用图的每个节点上有效的一个或多个资源集来计算资源图。确定资源图的两个或更多节点之间是否存在循环。循环表示多线程程序中出现死锁。

著录项

  • 公开/公告号US8763003B2

    专利类型

  • 公开/公告日2014-06-24

    原文格式PDF

  • 申请/专利权人 GEORGE B. LEEMAN JR.;

    申请/专利号US201213426102

  • 发明设计人 GEORGE B. LEEMAN JR.;

    申请日2012-03-21

  • 分类号G06F9/46;

  • 国家 US

  • 入库时间 2022-08-21 16:02:46

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号