Sorry. The question is still here. How can I judge a running program is Process or Thread. If not Jabber tell me, how can I know MS Word is process, comparing with keyboard input, spelling error are threads?

howru (How are you?)
Sorry, I need a essence difference instead surface difference.

I know that Servlet is running as a thread and CGI often in a process. If not the textbook tell me such thing, how can I know CGI is running in process and Servlet is running in thread?

More concretely, how do we create a process or a thread using Java? If Java can't, what language can? I know you begin a new program often begin a new process. But why? There must be something under the surface.


2001-2-25 -04:00

回到话题: What's the difference between Thread and Process? It's said process is expensive and thread is much more efficient when I learn the difference between CGI and Servlet. tks.

回到论坛: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论