首页    期刊浏览 2024年09月20日 星期五
登录注册

文章基本信息

  • 标题:Algebra of Synchronization with Application to Deadlock and Semaphores
  • 其他标题:Algebra of Synchronization with Application to Deadlock and Semaphores
  • 本地全文:下载
  • 作者:Ernesto E. Gomez ; Keith Schubert
  • 期刊名称:International Journal of Networking and Computing
  • 印刷版ISSN:2185-2847
  • 出版年度:2011
  • 卷号:1
  • 期号:2
  • 页码:144-156
  • 语种:English
  • 出版社:International Journal of Networking and Computing
  • 摘要:Modern multiprocessor architectures have exacerbated problems of coordinating access to shared data, in particular as regards to the possibility of deadlock. For example semaphores, one of the most basic synchronization primitives, present difficulties. Djikstra defined semaphores to solve the problem of mutual exclusion. Practical implementation of the concept has, however, produced semaphores that are prone to deadlock, even while the original definition is theoretically free of it. This is not simply due to bad programming, but we have lacked a theory that allows us to understand the problem. We introduce a formal definition and new general theory of synchronization. We illustrate its applicability by deriving basic deadlock properties, to show where the problem lies with semaphores and also to guide us in finding some simple modifications to semaphores that greatly ameliorate the problem. We suggest some future directions for deadlock resolution that also avoid resource starvation.
  • 关键词:synchronization; deadlock; algebra; semaphore
国家哲学社会科学文献中心版权所有