Blog Home  Home Feed your aggregator (RSS 2.0)  
Software Code Help - Difference between Threads vs. Processes?
Blog
 
# Tuesday, December 29, 2009

All threads within a single application are logically contained within a process – the operating system unit in which an application runs.

Threads have certain similarities to processes – for instance, processes are typically time-sliced with other processes running on the computer in much the same way as threads within a single C# application. The key difference is that processes are fully isolated from each other; threads share (heap) memory with other threads running in the same application. This is what makes threads useful: one thread can be fetching data in the background, while another thread is
displaying the data as it arrives.

Tuesday, December 29, 2009 3:56:31 AM (GMT Standard Time, UTC+00:00)  #    Comments [0]   Interview Question .Net  | 
Comments are closed.
Copyright © 2010 SoftwareCodeHelp. All rights reserved.
DasBlog 'Portal' theme by Johnny Hughes.
Pick a theme: