Jthread, a deadlock-free mutex library

PPDP(2015)

引用 0|浏览22
暂无评分
摘要
We design a mutex library for Hop -- a dialect of Scheme which supports preemptive multithreading and shared memory -- that mixes deadlock prevention and deadlock avoidance to provide an easy to use, expressive, and safe locking function. This requires an operation to acquire several mutexes simultaneously, for which we provide a starvation-free algorithm. Choosing a formal definition of starvation-freedom leads us to identify the concept of asymptotic deadlock. Preliminary observations seem to show that our library has negligible impact on the performance of real-life applications. Our work could be applied to other languages such as Java.
更多
查看译文
关键词
shared memory concurrency, mutex, structured locking, nested lock, asymptotic deadlock, deadlock avoidance, starvation, modularity, formal semantics, language design, Scheme
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要