Hi,
Can anyone explain exactly whats the difference between a Process and a Thread ? Which one could have lower cost ?
Thanks,
Danesh
There is some nice information on Wikipedia about threads and processes (http://en.wikipedia.org/wiki/Thread_%28computer_science%29).
MSDN: About Processes and Threads (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/about_processes_and_threads.asp)
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.
Thanks. That was cool. I got the point. Thanks again...