...
首页> 外文期刊>Science of Computer Programming >Exclusion requirements and potential concurrency for composite objects
【24h】

Exclusion requirements and potential concurrency for composite objects

机译:复合对象的排除要求和潜在的并发性

获取原文
获取原文并翻译 | 示例

摘要

Concurrent object-oriented systems must prevent the interference that may arise when multiple threads simultaneously access shared components. We present a simple approach for implementing flexible locking strategies in an object-oriented system, in which the components themselves may be composite objects. We express exclusion requirements as sets of conflict pairs on component interfaces. Given knowledge of the dependency between the interface of a composite object and its internal components, we show how external exclusion requirements can be calculated from internal requirements, and further, how any potential concurrent activity outside an object can be projected into potential concurrency for the internal components. With our approach we can defer the distribution of locks in the system until deployment: the placement of locks and choice of lock type for a component can depend on its operating environment. A Galois connection between the outward mapping of exclusion requirements, and the inward mapping of potential concurrency, limits how many locks are worth considering. In this paper we only deal with exclusion control, including mutexes, read-write locks and read-write sets, and do not cover state-dependent locking or transaction-based approaches.
机译:并发的面向对象系统必须防止多个线程同时访问共享组件时可能产生的干扰。我们提出了一种简单的方法,用于在面向对象的系统中实现灵活的锁定策略,其中组件本身可能是复合对象。我们将排除要求表示为组件接口上的一组冲突对。在了解了复合对象的接口与其内部组件之间的依赖性之后,我们将展示如何从内部需求中计算外部排除需求,以及如何将对象外部的任何潜在并发活动投影到内部的潜在并发中。组件。通过我们的方法,我们可以将锁在系统中的分配推迟到部署为止:组件的锁位置和锁类型的选择取决于其操作环境。排除需求的外部映射与潜在并发的内部映射之间的Galois连接限制了值得考虑的锁数量。在本文中,我们仅处理排除控制,包括互斥锁,读写锁和读写集,并且不涉及状态依赖锁或基于事务的方法。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号