检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:胡忠[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[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.52