Sunday, May 30, 2010

Difference between Process and Thread

What is the difference between thread and a Process ?


A thread is a program in execution whereas a Process is an application which executes as a whole.

Ex: A MS-Word application can be considered as a Process whereas when you type some text in MS-Word document. you can type at the same time it checks for the spelling and grammar in the backgound. this work of checking the spelling and grammar of the word you type is done by background thread.

No comments:

Post a Comment