Resource-oriented deadlock analysis

被引:3
作者
Naish, Lee [1 ]
机构
[1] Univ Melbourne, Melbourne, Vic 3010, Australia
来源
Logic Programming, Proceedings | 2007年 / 4670卷
关键词
concurrency; deadlock analysis; partial order; dining philosophers; committed choice nondeterminism; floundering; coroutining;
D O I
10.1007/978-3-540-74610-2_21
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
We present a method of detecting if deadlocks may occur in concurrent logic programs. Typical deadlock analysis is "process-oriented", being based on possible interleaving of processes. Our method is oriented towards the shared resources (communication channels, locks et cetera) and is based on orders in which individual resources are used by different processes. In cases where there are resources used by only a subset of all processes the search space can be dramatically reduced. The method arises very naturally out of the concurrent logic programming paradigm. Analysis of concurrent programs has previously used "coarsification" and "partial order" methods to reduce the search space. Our approach rediscovers and also extends these techniques. Our presentation is based around a logic programming pearl which finds deadlocked computations in a program which solves the dining philosophers problem.
引用
收藏
页码:302 / 316
页数:15
相关论文
empty
未找到相关数据