A thread--sometimes called an execution context or a lightweight process--is a single sequential flow of control within a program. You use threads to isolate tasks.
线程——有时也叫做执行上下文或轻量级处理程序——是程序的单一连续控制流。我们使用线程来隔离任务。
A thread is a single sequential flow of control within a program.
The HotJava Web browser is an example of a multithreaded application.
HotJava 浏览器是一个多线程应用实例。
线程——有时也叫做执行上下文或轻量级处理程序——是程序的单一连续控制流。我们使用线程来隔离任务。
A thread is a single sequential flow of control within a program.
The HotJava Web browser is an example of a multithreaded application.
HotJava 浏览器是一个多线程应用实例。