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

Java中的多线程机制
引用本文:沈富可.Java中的多线程机制[J].计算机工程,1997,23(4):7-10.
作者姓名:沈富可
作者单位:华东师范大学计算机科学系
摘    要:文中首先介绍了进程与线程的区别,多线程的优势;多线程啬了运行的并行性,也引出了一些新问题,如方法和主量需要安全保护,介绍了Java中多线程的同步问题、原子操作、如何创建和挂起线程。

关 键 词:多线程机制  Java语言  操作系统

Multithreading in Java
Shen Fuke.Multithreading in Java[J].Computer Engineering,1997,23(4):7-10.
Authors:Shen Fuke
Affiliation:Dept.Computer Science of East China Normal University Shanghai 200062
Abstract:This paper introduces the Process and Thread, advantages of multithread.The parallelism of Multithread is powerful, but introduces new problem-methods and variables need to be protected,so this paper give out how to do this with atomic operation,and finally how to create and suspend a thread in Java.
Keywords:Process  Thread  Synchronization  Atomic operation
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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