[1]麻孜宁 伊浩 李祥.Java多线程并发系统中的安全性与公平性[J].计算机技术与发展,2006,(02):120-122.
 MA Zi-ning,YI Hao,LI Xiang.Safety and Fairness in Java Multithreading Concurrent System[J].,2006,(02):120-122.
点击复制

Java多线程并发系统中的安全性与公平性()
分享到:

《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]

卷:
期数:
2006年02期
页码:
120-122
栏目:
智能、算法、系统工程
出版日期:
1900-01-01

文章信息/Info

Title:
Safety and Fairness in Java Multithreading Concurrent System
文章编号:
1005-3751(2006)02-0120-03
作者:
麻孜宁 伊浩 李祥
贵州大学计算机软件与理论研究所
Author(s):
MA Zi-ning YI Hao LI Xiang
Institute of Computer Science, Guizhou University
关键词:
多线程并发临界资源公平性安全性
Keywords:
multithreading concurrence critical resource safety fairness
分类号:
TP311
文献标志码:
A
摘要:
多线程是Java的一个重要方法,特别有利于在程序中实现并发任务。Java提供Thread线程类,实现了多线程的并发机制。然而,程序的并发执行必定会出现多个线程互斥访问临界资源的局面,因而并发系统解决的关键就是对临界资源的管理和分配问题,而在进行临界资源分配时有两方面需要考虑,即安全性和公平性。文中首先讨论了多线程并发系统中的安全性与公平性问题,指出安全性与公平性在并发系统中访问临界资源时的重要性。并通过火车行驶单行隧道的实例,演示各种条件下的行驶情况来进一步说明该问题
Abstract:
Multithreading is an important method of Java, especially multithreading is propitious to implement concurrent tasks in program. Java offers Thread class, which can implement concurrent mechanism. But the program concurrence must bring the situation that several threads accesa the same critical resource simultaneously, so the key problem in concurrent system is how to manage and allot critical resources, in which we should pay attention to fairness and safety. In this thesis,discuss the safety and fairness in concurrent system, and point out its importance when multithreading accessing the critical resources. And under the Java Development Platform - NetBean, realized the demo example of trains driving the single - line tunnel to explain the problem

相似文献/References:

[1]龚向坚 邹腊梅 隆重.基于分布对象的虚拟网络实验系统设计与实现[J].计算机技术与发展,2010,(01):111.
 GONG Xiang-jian,ZOU La-mei,LONG Zhong.Design and Realization of Virtual Network Laboratory System Based on Distributing Object[J].,2010,(02):111.
[2]曹廷发 吉华 马江 付耀国.Linux/RTLinux下实时多线程实时性检测方法[J].计算机技术与发展,2010,(03):113.
 CAO Ting-fa,JI Hua,MA Jiang,et al.Real - time Performance Test Methods for Real - time Multi - thread Based Linux/RTLinux[J].,2010,(02):113.
[3]严颖 汪峥.基于RFID的单件生产实验系统的监控系统设计[J].计算机技术与发展,2010,(03):234.
 YAN Ying,WANG Zheng.Design of Supervisory Control System on Host Computer in Experimental RFID - Based One- of- a- Kind Production System[J].,2010,(02):234.
[4]严颖 汪峥.单件生产实验系统控制及仿真的多线程实现[J].计算机技术与发展,2010,(02):197.
 YAN Ying,WANG Zheng.Multi- Thread- Based Implementation of Control and Simulation for an Experimental One - of- a - Kind Production System[J].,2010,(02):197.
[5]詹金兰 李翠华.模拟实验系统的可视化研究[J].计算机技术与发展,2009,(05):228.
 ZHAN Jin-lan,LI Cui-hua.Visualization Research on Simulation Experiment System[J].,2009,(02):228.
[6]吴众欣 钱德沛 黄泳翔.基于软件管道Actor模型的BPEL流程转化研究[J].计算机技术与发展,2009,(07):4.
 WU Zhong-xin,QIAN De-pei,HUANG Yong-xiang.Research on BPEL Process Conversion Based on Actor Model with Pipeline[J].,2009,(02):4.
[7]黄辉 李革新 张华.连锁业务中远程数据传输的研究与实现[J].计算机技术与发展,2009,(08):169.
 HUANG Hui,LI Ge-xin,ZHANG Hua.Research and Implementation of Remote Data Transmission in Chain Business System[J].,2009,(02):169.
[8]苏成顺 李贞培.基于多线程的分段图像轮廓跟踪算法[J].计算机技术与发展,2009,(10):99.
 SU Cheng-shun,LI Zhen-pei.Algorithm for Multi- Segment Image Contour Following Based on Multithreading[J].,2009,(02):99.
[9]郭娟 许志才 方贤文.基于Petri网的Java多线程程序分析[J].计算机技术与发展,2009,(04):51.
 GUO Juan,XU Zhi-cai,FANG Xian-wen.Multi - Thread Analysis about Java Program Based on Petri Net[J].,2009,(02):51.
[10]张炯 吕紫旭 刘栋 金惠华.实时操作系统ThreadX剖析[J].计算机技术与发展,2008,(01):22.
 ZHANG Jiong,LU Zi-xu,LIU Dong,et al.Analysis of Real Time Operating System: ThreadX[J].,2008,(02):22.
[11]姜玉 陈旭.专家语音通知系统中多队列多线程机制的实现[J].计算机技术与发展,2012,(02):14.
 JIANG Yu,CHEN Xu.Implementation of Multiqueue and Multithread Mechanism in Expert Voice Inform System[J].,2012,(02):14.

备注/Memo

备注/Memo:
贵州省科学基金资助项目(黔科合(2004)GGY002)麻孜宁(1980-),女,河南新乡人,硕士研究生.研究方向为计算机软件与应用; 李祥,教授,硕士生导师,研究方向为计算机软件与应用
更新日期/Last Update: 1900-01-01