This topic has been archived. It cannot be replied.
-
工作学习 / IT技术讨论 / 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.
-howru(How are you?);
2001-2-23
(#28242@0)
-
a process can have one or n threads
-guest:guest;
2001-2-23
(#28246@0)
-
I can't get any idea.
-howru(How are you?);
2001-2-24
(#28277@0)
-
I doubt if you have Java textbooks ;-):-);
-jabber(jabber);
2001-2-24
{656}
(#28328@0)
-
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?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.
tks.
-howru(How are you?);
2001-2-25
{478}
(#28410@0)
-
Just answer part of your questions
-jabber(jabber);
2001-2-25
{828}
(#28457@0)
-
thank you!
-howru(How are you?);
2001-2-25
(#28521@0)
-
Try to make it clear
-jfhuang(Zigzag);
2001-2-26
{1717}
(#28640@0)
-
One more word
-jabber(jabber);
2001-2-26
{711}
(#28647@0)