首页 | 本学科首页   官方微博 | 高级检索  
     检索      

一种基于ProActive同步性实现读者/写者问题的方法
引用本文:李金忠,夏洁武,胡运全.一种基于ProActive同步性实现读者/写者问题的方法[J].井冈山学院学报,2008,29(8):18-20.
作者姓名:李金忠  夏洁武  胡运全
作者单位:井冈山大学信息科学与传媒学院,江西吉安343009
基金项目:井冈山大学校科研和教改项目
摘    要:基于主动对象模式的ProActive,是一个具有并行、分布式、多线程和并发计算的java网格中间件类库,同时是以容错、负载平衡、移动性和安全性等为特征的统一框架。ProActive有着较高层次的并发特征,它提供一个高级的同步机制,易于安全地实现潜在复杂的同步策略。本文基于ProActive的同步性解决读者/写者这个经典同步问题,实现了三种不同的同步策略:“读者优先”、“写者优先”、“公平竞争”,且能在不停顿正读或写的情况下为读者或写者指派不同的同步策略。

关 键 词:ProActive  读者/写者问题  同步

A way to umplement the readers and writers problem based on the synchronization with ProActive
LI Jin-zhong,XIA Jie-wu,HU Yun-quan.A way to umplement the readers and writers problem based on the synchronization with ProActive[J].Journal of Jinggangshan University,2008,29(8):18-20.
Authors:LI Jin-zhong  XIA Jie-wu  HU Yun-quan
Institution:(school of Information Science and Media Jinggangshan University, Ji'an 343009, China)
Abstract: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.
Keywords:ProActive
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号