The MASM Forum Archive 2004 to 2012

General Forums => The Workshop => Topic started by: Danesh on March 06, 2005, 12:09:15 PM

Title: Process and Thread
Post by: Danesh on March 06, 2005, 12:09:15 PM

Hi,

Can anyone explain exactly whats the difference between a Process and a Thread ? Which one could have lower cost ?

Thanks,

Danesh

Title: Re: Process and Thread
Post by: Jibz on March 07, 2005, 08:32:45 AM
There is some nice information on Wikipedia about threads and processes (http://en.wikipedia.org/wiki/Thread_%28computer_science%29).
Title: Re: Process and Thread
Post by: MichaelW on March 07, 2005, 09:04:51 AM
 MSDN: About Processes and Threads (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/about_processes_and_threads.asp)

Title: Re: Process and Thread
Post by: AeroASM on March 09, 2005, 08:26:14 AM
A thread is a sequence of code that executes.

A process is a group of threads, and some memory and data reserved for its own use. It may also have resources like bitmaps and dialogs.
Most processes only have one thread.

Multithreading is where a process has more than one thread.

A process and a window form an Application.
Title: Re: Process and Thread
Post by: Danesh on March 11, 2005, 09:39:22 PM
Thanks. That was cool. I got the point. Thanks again...