摘要
介绍了线程的有关概念:线程的生命期及其状态间的转换、多线程的调度原则、线程的死锁;详细阐述了多线程的2种实现方法:由Thread类派生子类、实现Runnable接口。
The paper introduces the concepts of thread and life cycle of thread and its state transition and dispatching principle. Two methods which realize multithread are detailed, including the derivation of thread class and the actualization of the runnable interface .
出处
《软件导刊》
2007年第7期147-149,共3页
Software Guide
关键词
JAVA语言
进程
多线程
线程调度
死锁
Java language
processor
Java Multithread
process scheduling
deadlock