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

Java语言中的线程同步互斥研究
引用本文:张步忠.Java语言中的线程同步互斥研究[J].安庆师范学院学报(自然科学版),2011,17(4):106-110.
作者姓名:张步忠
作者单位:安庆师范学院计算机与信息学院,安徽安庆,246133
基金项目:安徽省高校自然科学基金项目(KJ2010B096);安庆师范学院青年科研基金(KJ201112)资助
摘    要:在介绍操作系统中引入多线程的原因后,介绍了Java语言中的多线程机制和编程实现方案,介绍了线程同步互斥机制,并用经典操作系统进程同步互斥算法实现程序,演示如何编写Java并发程序。

关 键 词:Java  多线程  同步  互斥

Thread Synchronization and Mutual Exclusion in Java language
ZHANG Bu-zhong.Thread Synchronization and Mutual Exclusion in Java language[J].Journal of Anqing Teachers College(Natural Science Edition),2011,17(4):106-110.
Authors:ZHANG Bu-zhong
Institution:ZHANG Bu-zhong(School of Computer and Information,Anqing Teachers College,Anqing 246133,China)
Abstract:After introducing the reason why multithread is need to use in operating system,the mechanism and realization of multithread in Java program language are introduced.Then the scheme of thread synchronization and mutual exclusion are also explained in this paper.Moreover,a segment program is implemented simulated by the classical algorithm of process synchronization and mutual exclusion in operating system.At last,how to write Java concurrent program is presented.
Keywords:java  multithread  synchronization  mutual exclusion
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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