期刊文献+

一种基于ProActive同步性实现读者/写者问题的方法

A way to umplement the readers and writers problem based on the synchronization with ProActive
下载PDF
导出
摘要 基于主动对象模式的ProActive,是一个具有并行、分布式、多线程和并发计算的java网格中间件类库,同时是以容错、负载平衡、移动性和安全性等为特征的统一框架。ProActive有着较高层次的并发特征,它提供一个高级的同步机制,易于安全地实现潜在复杂的同步策略。本文基于ProActive的同步性解决读者/写者这个经典同步问题,实现了三种不同的同步策略:"读者优先"、"写者优先"、"公平竞争,"且能在不停顿正读或写的情况下为读者或写者指派不同的同步策略。 Based on Active Object pattern,ProActive is a Java GRID middleware library for parallel,distributed,multi-threaded computing and concurrent computing,also featuring fault-tolerance,load-balancing,mobility and security in a uniform framework.ProActive has a higher level of concurrent characteristic,it provides an advanced synchronization mechanism that allows an easy and safe implementation of potentially complex synchronization strategy.The paper solves the classical synchronization problem-the readers and the writers problem-based on synchronization with ProActive,it implements three different synchronization policies "Priority to Writers","Priority to Readers",and "Even Policy",and the application is able to assign different synchronization strategy to readers or writers without blocking on reading or writing.
出处 《井冈山大学学报(自然科学版)》 2008年第4期18-20,共2页 Journal of Jinggangshan University (Natural Science)
基金 井冈山大学自然科学基金项目(JZ0705)
关键词 PROACTIVE 读者/写者问题 同步 ProActive the readers and writers problem synchronization
  • 相关文献

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部