What is the difference between Thread and Process? - ProProfs Discuss
Advertisement

What is the difference between Thread and Process?

What is the difference between Thread and Process?

Change Image    Delete

Asked by Lynn , Last updated: Dec 21, 2024

+ Answer
Request
Question menu
Vote up Vote down

2 Answers

K. Shadrach

K. Shadrach

K. Shadrach
K. Shadrach

Answered Jun 24, 2020

These two terms are applied when we are talking about computer programming. A process simply refers to an instance or the execution of a program. One or more threads can actually make up a process. A process, basically, is a heavy, substantial program that can occupy a lot of spatial memory. The resources with which they are executed determine their size, and they are, however, referred to as "heavyweight process." Processes are located at different locations of memory, and they do not affect themselves.

Threads, on the other hand, are used to achieve a specific task, having the ability to be executed simultaneously. This is due to a fact about thread; it is that it is just an execution sequence. Threads are usually within processes, and are known to be "lightweight process." They are independent sequentially execution path, and also the smallest part of a program. Threads are more easily created than processes.

upvote downvote
Reply 

H. Ruby

H. Ruby

H. Ruby
H. Ruby

Answered Jun 23, 2020

A process is a series of actions taken to accomplish a specific result. Processes are challenging to create because it needs a duplication of the parent process and memory allocation. It is an example of an executing computer program, or it is the notion of running a computer program. Simple methods contain one or more threads. Two or more processes can converse with each other using inter-process communication.

When devising a new process, the programmer has the task of replication of the parent procedure and allocation of memory and reserves for the new process. This process is where it becomes expensive. A thread, on the other hand, is a path of execution within a process. Threads are easier to create than processes. Threads do not require a separate address space. Threads are utilized for straightforward tasks, while operations are used for more complex endeavors.

upvote downvote
Reply 

Advertisement
Advertisement
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader

Email Sent
We have sent an email to your address "" with instructions to reset your password.