arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1110.4160cs.PLcs.DC
收藏

一种保证无死锁而不强加锁顺序的非结构化锁类型系统

A Type System for Unstructured Locking that Guarantees Deadlock Freedom without Imposing a Lock Ordering

Prodromos Gerakios, Nikolaos Papaspyrou, Konstantinos Sagonas

摘要:

并发程序中的死锁是线程之间循环获取资源的结果。在本文中,我们提出了一种新的类型系统,保证死锁自由的引用,非结构化的锁定原语,并与引用隐式关联的锁的语言。建议的类型系统不强加严格的锁获取顺序,从而增加了程序设计语言的表达能力。

英文摘要:

Deadlocks occur in concurrent programs as a consequence of cyclic resource acquisition between threads. In this paper we present a novel type system that guarantees deadlock freedom for a language with references, unstructured locking primitives, and locks which are implicitly associated with references. The proposed type system does not impose a strict lock acquisition order and thus increases programming language expressiveness.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑