跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 数据结构与算法

arXiv:cs/0208004 (cs)
[提交于 2007年5月23日]

标题:Detecting Race Conditions in Parallel Programs that Use Semaphores

作者:Philip N. Klein, Hsueh-I Lu, Rob H. B. Netzer
查看论文《Detecting Race Conditions in Parallel Programs that Use Semaphores》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:We address the problem of detecting race conditions in programs that use semaphores for synchronization. Netzer and Miller showed that it is NP-complete to detect race conditions in programs that use many semaphores. We show in this paper that it remains NP-complete even if only two semaphores are used in the parallel programs. For the tractable case, i.e., using only one semaphore, we give two algorithms for detecting race conditions from the trace of executing a parallel program on p processors, where n semaphore operations are executed. The first algorithm determines in O(n) time whether a race condition exists between any two given operations. The second algorithm runs in O(np log n) time and outputs a compact representation from which one can determine in O(1) time whether a race condition exists between any two given operations. The second algorithm is near-optimal in that the running time is only O(log n) times the time required simply to write down the output.
评论: 24 pages, 12 figures, preliminary versions appeared in WADS 93 and ESA 96
主题: 数据结构与算法 (cs.DS); 分布式、并行与集群计算 (cs.DC)
引用方式: arXiv:cs/0208004 [cs.DS]
  (或者 arXiv:cs/0208004v1 [cs.DS] 对于此版本)
  https://doi.org/10.48550/arXiv.cs/0208004
期刊参考: Algorithmica, 35(4):321-345, 2003
相关 DOI: https://doi.org/10.1007/s00453-002-1004-3

提交历史

来自:Hsueh-I. Lu
[v1] 2007年5月23日 星期三 00:00:00 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.DS
< 上一篇   |   下一篇 >
最新 | 近期 | 2007-05
切换浏览方式为:
cs
cs.DC

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站