首页> 外文会议>Workshop on Programming languages and operating systems >Atomicity and visibility in tiny embedded systems
【24h】

Atomicity and visibility in tiny embedded systems

机译:微型嵌入式系统的原子性和可见性

获取原文

摘要

Visibility is a property of a programming language's memory model that determines when values stored by one concurrent computation become visible to other computations. Our work exploits the insight that in nesC, a C-like language with explicit atomicity, the traditional way of ensuring timely visibility---volatile variables---can be entirely avoided. This is advantageous because the volatile qualifier is a notorious source of programming errors and misunderstandings. Furthermore, the volatile qualifier hurts performance by inhibiting many more optimizations than are necessary to ensure visibility. In this paper we extend the semantics of nesC's atomic statements to include a visibility guarantee, we show two ways that these semantics can be implemented, and we also show that our better implementation has no drawbacks in terms of resource usage.
机译:可见性是编程语言的存储器模型的属性,该属性确定一个并发计算存储的值是否对其他计算可见。我们的工作利用了NESC中的洞察力,一种具有明确的语言,即确保及时了解的传统方式---易失变量---可以完全避免。这是有利的,因为挥发性限定符是编程错误和误解的臭名昭着的来源。此外,挥发性限定符通过抑制比以确保可见性所必需的更优化损坏性能。在本文中,我们扩展了NESC的原子陈述的语义,以包括可见性保证,我们展示了两种方式可以实现这些语义,我们还表明我们更好的实施在资源使用方面没有缺点。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号