发明授权
- 专利标题: Programming model to detect deadlocks in concurrent programs
- 专利标题(中): 编程模型来检测并发程序中的死锁
-
申请号: US10136596申请日: 2002-04-30
-
公开(公告)号: US07703077B2公开(公告)日: 2010-04-20
- 发明人: Jakob Rehof , James R. Larus , Sriram K. Rajamani
- 申请人: Jakob Rehof , James R. Larus , Sriram K. Rajamani
- 申请人地址: US WA Redmond
- 专利权人: Microsoft Corporation
- 当前专利权人: Microsoft Corporation
- 当前专利权人地址: US WA Redmond
- 代理机构: Merchant & Gould PC
- 主分类号: G06F9/44
- IPC分类号: G06F9/44 ; G06F11/00 ; G06F3/00
摘要:
Described are embodiments for developing a message-passing application program. The program is constructed using stages having a plurality of asynchronous functions, or operations. The operations communicate with other operations of other message-passing programs in a distributed computing environment. The operations also communicate with other operations on other stages of the message-passing application. In order to reduce deadlock errors, a behavioral type signature is appended to the declaration of each operation of the message-passing application program. The behavioral type signature specifies behavioral properties for each operation, such as when an operation should send a message to another operation. A type checker utilizes typing rules and the behavioral type signature to extract an implementation model of each function. The type checker then compares the implementation model to the behavioral type signature to determine whether the asynchronous function conforms to the behavioral type signature.
公开/授权文献
- US20030204641A1 Programming model for concurrent programs 公开/授权日:2003-10-30
信息查询