Implicit-signal monitors

Author:

Buhr Peter A.1,Harji Ashif S.1

Affiliation:

1. University of Waterloo, Waterloo, Ont. Canada

Abstract

An implicit (automatic) signal monitor uses a waituntil predicate statement to construct synchronization, as opposed to an explicit-signal monitor using condition variables and signal/wait statements for synchronization. Of the two synchronization approaches, the implicit-signal monitor is often easier to use and prove correct, but has an inherently high execution cost. Hence, its primary use is for prototyping concurrent systems using monitors, where speed and accuracy of software development override execution performance. After a concurrent system is working, any implicit-signal monitor that is a performance bottleneck can be converted to an explicit-signal monitor. Unfortunately, many monitor-based concurrency systems provide only explicit-signal monitors, precluding the design benefits of implicit-signal monitors.This article presents a historical look at the development of the implicit-signal monitor in relation to its counterpart the explicit-signal monitor. An analysis of the different kinds of implicit-signal monitors shows the effects certain design decisions have on the problems that can be solved and the performance of the solutions. Finally, an extensive discussion is presented on simulating an implicit-signal monitor via different explicit-signal monitors. These simulations are reasonably complex, depending on the kind of explicit-signal monitor available for the simulation and the desired semantics required for the implicit-signal monitor. Interestingly, the complexity of the simulations also illustrates certain deficiencies with explicit-signal monitors, which are discussed in detail. Performance comparisons are made among the different simulations with monitors from the concurrent systems PThreads, Java, and μC++.

Publisher

Association for Computing Machinery (ACM)

Subject

Software

Reference38 articles.

1. Andrews G. R. 2000. Foundations of Multithreaded Parallel and Distributed Programming. Addison--Wesley Reading MA.]] Andrews G. R. 2000. Foundations of Multithreaded Parallel and Distributed Programming. Addison--Wesley Reading MA.]]

2. Ben-Ari M. 1982. Principles of Concurrent Programming. Prentice-Hall International Englewood Cliffs NJ.]] Ben-Ari M. 1982. Principles of Concurrent Programming. Prentice-Hall International Englewood Cliffs NJ.]]

3. Bernstein A. J. and Lewis P. M. 1993. Concurrency in Programming and Database Systems. Jones and Bartlett Subury MA.]] Bernstein A. J. and Lewis P. M. 1993. Concurrency in Programming and Database Systems. Jones and Bartlett Subury MA.]]

4. A comparison of two synchronizing concepts

5. Structured multiprogramming

Cited by 7 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Symbolic Reasoning for Automatic Signal Placement;ACM SIGOPS Operating Systems Review;2020-08-31

2. Symbolic reasoning for automatic signal placement;ACM SIGPLAN Notices;2018-12-02

3. Symbolic reasoning for automatic signal placement;Proceedings of the 39th ACM SIGPLAN Conference on Programming Language Design and Implementation;2018-06-11

4. A survey of support for structured communication in concurrency control models;Journal of Parallel and Distributed Computing;2014-04

5. AutoSynch;ACM SIGPLAN Notices;2013-06-23

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3