KEMBAR78
Difference Between Process and Thread | PDF
0% found this document useful (0 votes)
70 views1 page

Difference Between Process and Thread

A process is an executing program that operates independently and takes more time to create and terminate, while a thread is a segment of a process that can run concurrently and is more efficient in terms of resource usage and communication. Processes are isolated and do not share memory, whereas threads share memory within the same process. Overall, threads are faster to create and terminate compared to processes.

Uploaded by

kritika23ojha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
70 views1 page

Difference Between Process and Thread

A process is an executing program that operates independently and takes more time to create and terminate, while a thread is a segment of a process that can run concurrently and is more efficient in terms of resource usage and communication. Processes are isolated and do not share memory, whereas threads share memory within the same process. Overall, threads are faster to create and terminate compared to processes.

Uploaded by

kritika23ojha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

Difference between Process and Thread

Process:
Process means any program is in execution. Process control block controls the
operation of any process. Process control block contains the information about
processes for example: Process priority, process id, process state, CPU, register etc. A
process can creates other processes which are known as Child Processes. Process
takes more time to terminate and it is isolated means it does not share memory with
any other process.

Thread:
Thread is the segment of a process means a process can have multiple threads and
these multiple threads are contained within a process. A thread have 3 states: running,
ready, and blocked.

Thread takes less time to terminate as compared to process and like process threads do
not isolate.

Difference between Process and Thread:


S.NO Process Thread
1. Process means any program is in execution. Thread means segment of a process.
2. Process takes more time to terminate. Thread takes less time to terminate.
3. It takes more time for creation. It takes less time for creation.
It also takes more time for context
4. It takes less time for context switching.
switching.
Process is less efficient in term of Thread is more efficient in term of
5.
communication. communication.
6. Process consume more resources. Thread consume less resources.
7. Process is isolated. Threads share memory.

You might also like