See what questions your friends are asking today.

What is the difference between a computer process and thread?

View Slide Show

Close
Answer:
A single process can have multiple threads that share global data and address space with other threads running in the same process, and therefore can operate on the same data set easily. Processes do not share address space and a different mechanism must be used if they are to share data.

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 (your document).

process

In computing, a process is an instance of a computer program that is being sequentially executed[1] by a computer system that has the ability to run several computer programs concurrently.

Thread

A single process may contain several executable programs (threads) that work together as a coherent whole. One thread might, for example, handle error signals, another might send a message about the error to the user, while a third thread is executing the actual task of the...

More on: C Sharp

To frame it better, let's look at .NET Hardware requirements. As per MSDN: - For VS.NET Requirement Enterprise Architect Enterprise... more »
Abstract classes and Interfaces are both examples of contracts with no default implementation. Interfaces are more readily... more »

Top Questions

Using visual studio, First you have to drag a progress bar from the toolbox into your...
· Constraints are represented in C# using the where keyword · Constraints is something...
using System; namespace ConsoleApplication2 { public class Triangle { public static...

Contributors

«
Tommy riddle
Trust: 72
  • Comparing Supervisor
»

Top Contributors This Week

  • Trust Points: 2716
  • Member Since: 6/07
  • Trust Points: 2937
  • Member Since: 10/10
  • Trust Points: 7703
  • Member Since: 11/08
  • Trust Points: 2921
  • Member Since: 9/07
  • Trust Points: 62
  • Member Since: 11/12