Home
About
Contact
Login
Home
Code and Articles
Videos
Books
Search
Demos
Portfolio
Home
>
Categories
>
Code from a Category
Asp.net C# / VB (187)
PHP (86)
MSSQL (56)
CSS (8)
Zoho CRM (47)
Zoho Invoice (1)
jQuery (16)
DotNetNuke (2)
VB.Net (66)
Zoho Creator (5)
Zoho Mail (2)
Other (7)
Zoho Support (1)
Salesforce CRM (3)
SugarCRM (1)
Difference between Threads and Processes.
User Name:
codelecturer
Name:
Mike Chauhan
Contact Me:
www.datawebcoder.com/ContactUs.aspx
Home Page:
www.datawebcoder.com
6 years of total IT experience including programming, application development, System Maintenance . 3 years of Experienced and expertise in .Net Framework VB, Visual Basic.Net, ASP.Net 2.0, 3.5 and AD...
[More]
Viewed Times:
272
Add Date:
12/11/2011
Here is the major difference between threads and processes.
The major difference between threads and processes is
1.
Threads(Light weight Processes) share the address space of the process that created it; processes have their own address
2.
Threads have direct access to the data segment of its process; processes have their own copy of the data segment of the parent process.
3.
Threads can directly communicate with other threads of its process; processes must use interprocess communication to communicate with sibling processes.
4.
Threads have almost no overhead; processes have considerable overhead.
5.
New threads are easily created; new processes require duplication of the parent process.
6.
Threads can exercise considerable control over threads of the same process; processes can only exercise control over child processes.
7.
Changes to the main thread (cancellation, priority change, etc.) may affect the behavior of the other threads of the process; changes to the parent process does not affect child processes.If we consider running a word processing program to be a process, then the auto-save and spell check features that occur in the background are different threads of that process which are all operating on the same data set.
Reply above Post
Related Posts
What is difference between HTTP Handler and HTTP Module.
What is difference between delete and truncate
What is difference between stored procedure and Functions?
Difference between DISTINCT and GROUP BY
ZOHO CRM: Differences between 3 Rules
Post a Comment
Name:
(Optional)
Email:
(Optional, you can get an email if somebody replys your comments)*
Email me if somebody respons my comment below:
Yes
No
Details**:
Enter Text
as Below:
(case insensitive, if hard to read, click the "get a new one" button)
* Your email address will not be shared with any third parties for any reason.
** Maximum 1000 charactors.