摘要
介绍了进程、线程的基本概念及其优缺点,多线程在程序设计中的应用,JAVA语言多线程的定义、实现、同步方法、解决冲突的措施以及在编程中注意的问题。介绍了1个JAVA多线程实例程序,用以演示多线程在动画中的应用。
The paper introduces thread,thread's application in a program,thread's definition and realization in Java language,synchronized method and measure of solving collision,and the attentive problem in a program.At the same time,it provides a Java program to show animated cartoons.
出处
《河北工业科技》
CAS
2004年第4期40-42,共3页
Hebei Journal of Industrial Science and Technology