Java多线程机制的研究与实践  被引量:2

The Research and Practice of Java's Multithreading Mechanism

在线阅读下载全文

作  者:胡忠[1] 

机构地区:[1]达县师范高等专科学校物电系,四川达州635000

出  处:《达县师范高等专科学校学报》2003年第2期47-49,共3页Journal of Daxian Teachers College

摘  要:多线程编程是Java语言的一个重要特色 ,它使Java程序可同时进行多路运行 ,支持多任务并进行处理 ,可充分利用系统资源 ,提高程序的执行效率。本文在说明进程、线程的基本慨念后 ,还介绍了线程的状态 ,多线程的调度原则 ,并详细讨论了实现多线程的两种途经 :重载Thread类的run()方法和Runnable接口的run()方法 ,它们都具有相同的功能和作用。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 .

关 键 词:JAVA语言 多线程编程 多线程机制 线程调度 线程管理 程序设计 

分 类 号:TP312[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象