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

Java多线程机制的研究与实践
引用本文:胡忠.Java多线程机制的研究与实践[J].达县师范高等专科学校学报,2003,13(2):47-49.
作者姓名:胡忠
作者单位:达县师范高等专科学校物电系 四川达州635000
摘    要:多线程编程是Java语言的一个重要特色,它使Java程序可同时进行多路运行,支持多任务并进行处理,可充分利用系统资源,提高程序的执行效率。本文在说明进程、线程的基本概念后,还介绍了线程的状态,多线程的调度原则,并详细讨论了实现多线程的两种途经:重载Thread类的run()方法和Rummble接口的run()方法,它们都具有相同的功能和作用。最后还介绍了多线程的分组管理方法。

关 键 词:Java语言  多线程编程  多线程机制  线程调度  线程管理  程序设计
文章编号:1008-4886(2003)02-0047-03
修稿时间:2003年2月16日

The Research and Practice of Java's Multithreading Mechanism
HU Zhong.The Research and Practice of Java''''s Multithreading Mechanism[J].Journal of Daxian Teachers College,2003,13(2):47-49.
Authors:HU Zhong
Abstract:It makes Java's program can be carried on at the same time many kinds of operatings to an important characteristic of multithreading volume Cheng Shi Java's language , and support the multitasking parallel processing , and can fully use the system resource , and raises the execution efficiency of program . This text is after the basic indignant thought of explanation process and thread range , and has still introduced the state of the thread range , dispatch principle of multithreading . Auspicious has carefully discussed to realize multithreading two kinds by way of : The run() of heavy load Thread method and the run() of Runnable's interface method , they all possesses the identical merit can with act on . Finally still introduce the grouping management method of multithreading .
Keywords:The process  The thread range  The thread range is dispatched  Java's language
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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