静态检测Ada任务死锁的Petri网方法
STATIC DETECTION OF ADA TASK DEADLOCK WITH PETRI NET
-
摘要: 文中提出了一种利用Petri网对Ada任务静态检测其死锁的方法.在检测时,首先建立Ada程序各单元的Ada网,再根据程序中各单元的关系将Ada网组装成完整的Ada网,然后对其作可达性分析来检测死锁.本文介绍了Ada网的建立和组装方法,对Ada网的特点作了理论上的分析,给出了Ada网无死锁的定义及构造出Ada网可达性分析的算法Abstract: A method to detect Ada task deadlock is proposed. The APN(Ada Petri Net) of every program unit is created and installed into an integral APN. And then the reachability of the integral APN is analyzed to detect deadlock. After introducing how to create and install APN, the characteristics of APN are analyzed theoretically. The definition of non deadlock APN and the algorithm of reachability analysis are given.
下载: